Thread (19 messages) 19 messages, 3 authors, 2021-12-03

Re: [PATCH RFC 1/4] mm: percpu: Generalize percpu related config

From: Kefeng Wang <hidden>
Date: 2021-11-30 06:22:15
Also in: linux-arm-kernel, linux-mips, linux-mm, linux-riscv, lkml, sparclinux

On 2021/11/30 6:36, Dennis Zhou wrote:
Hello,

On Sun, Nov 21, 2021 at 05:35:54PM +0800, Kefeng Wang wrote:
quoted
The HAVE_SETUP_PER_CPU_AREA/NEED_PER_CPU_EMBED_FIRST_CHUNK/
NEED_PER_CPU_PAGE_FIRST_CHUNK/USE_PERCPU_NUMA_NODE_ID configs,
which has duplicate definitions on platforms that subscribe it.

Move them into mm, drop these redundant definitions and instead
just select it on applicable platforms.

Signed-off-by: Kefeng Wang <redacted>
---
  arch/arm64/Kconfig   | 20 ++++----------------
  arch/ia64/Kconfig    |  9 ++-------
  arch/mips/Kconfig    | 10 ++--------
  arch/powerpc/Kconfig | 17 ++++-------------
  arch/riscv/Kconfig   | 10 ++--------
  arch/sparc/Kconfig   | 12 +++---------
  arch/x86/Kconfig     | 17 ++++-------------
  mm/Kconfig           | 12 ++++++++++++
  8 files changed, 33 insertions(+), 74 deletions(-)
...
quoted
This makes sense and looks good. A series like this is a little tricky.
The latter patches change the contracts so it'd be easiest to run it
through my tree. We'd need to get explicit acks from each arch
maintainer to make sure they're fine with this.
Got it, I will resend without RFC and hope to get ACKs from related arch 
maintainers.

Thanks,
Dennis
.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help