[PATCH V3 0/8] sched: Remove unused TASK_SIZE_OF for all archs

guoren@kernel.org posted 8 patches 4 years, 6 months ago
arch/arm64/include/asm/processor.h      | 2 --
arch/mips/include/asm/processor.h       | 3 ---
arch/parisc/include/asm/processor.h     | 3 +--
arch/powerpc/include/asm/task_size_64.h | 6 +-----
arch/s390/include/asm/processor.h       | 3 +--
arch/sparc/include/asm/processor_64.h   | 3 ---
arch/x86/include/asm/page_64_types.h    | 2 --
include/linux/sched.h                   | 4 ----
8 files changed, 3 insertions(+), 23 deletions(-)
[PATCH V3 0/8] sched: Remove unused TASK_SIZE_OF for all archs
Posted by guoren@kernel.org 4 years, 6 months ago
From: Guo Ren <guoren@linux.alibaba.com>

This macro isn't used in Linux, now. Delete in include/linux/sched.h
and arch's include/asm. This would confuse people who are
implementing the COMPAT feature for architecture.

Changes in v3:
 - Fixup Documentation/process/submitting-patches.rst, add sender
   Signed-off-by.

Changes in v2:
 - Add Arnd's comment in main patch
 - Optimize coding convention with Christophe's advise

Guo Ren (8):
  sched: Remove unused TASK_SIZE_OF
  sched: x86: Remove unused TASK_SIZE_OF
  sched: sparc: Remove unused TASK_SIZE_OF
  sched: powerpc: Remove unused TASK_SIZE_OF
  sched: s390: Remove unused TASK_SIZE_OF
  sched: parisc: Remove unused TASK_SIZE_OF
  sched: arm64: Remove unused TASK_SIZE_OF
  sched: mips: Remove unused TASK_SIZE_OF

 arch/arm64/include/asm/processor.h      | 2 --
 arch/mips/include/asm/processor.h       | 3 ---
 arch/parisc/include/asm/processor.h     | 3 +--
 arch/powerpc/include/asm/task_size_64.h | 6 +-----
 arch/s390/include/asm/processor.h       | 3 +--
 arch/sparc/include/asm/processor_64.h   | 3 ---
 arch/x86/include/asm/page_64_types.h    | 2 --
 include/linux/sched.h                   | 4 ----
 8 files changed, 3 insertions(+), 23 deletions(-)

-- 
2.25.1

Re: (subset) [PATCH V3 0/8] sched: Remove unused TASK_SIZE_OF for all archs
Posted by Michael Ellerman 4 years, 5 months ago
On Tue, 28 Dec 2021 14:47:21 +0800, guoren@kernel.org wrote:
> From: Guo Ren <guoren@linux.alibaba.com>
> 
> This macro isn't used in Linux, now. Delete in include/linux/sched.h
> and arch's include/asm. This would confuse people who are
> implementing the COMPAT feature for architecture.
> 
> Changes in v3:
>  - Fixup Documentation/process/submitting-patches.rst, add sender
>    Signed-off-by.
> 
> [...]

Applied to powerpc/next.

[4/8] sched: powerpc: Remove unused TASK_SIZE_OF
      https://git.kernel.org/powerpc/c/08035a67f35a8765cac39bb12e56c61ee880227a

cheers