From: Jonathan Cameron <jonathan.cameron@huawei•com>
To: "David Hildenbrand (Arm)" <david@kernel•org>
Cc: <linux-kernel@vger•kernel.org>,
Catalin Marinas <catalin.marinas@arm•com>,
Will Deacon <will@kernel•org>,
Huacai Chen <chenhuacai@kernel•org>,
"WANG Xuerui" <kernel@xen0n•name>,
Madhavan Srinivasan <maddy@linux•ibm.com>,
Michael Ellerman <mpe@ellerman•id.au>,
Nicholas Piggin <npiggin@gmail•com>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel•org>,
Paul Walmsley <pjw@kernel•org>,
Palmer Dabbelt <palmer@dabbelt•com>,
Albert Ou <aou@eecs•berkeley.edu>,
Alexandre Ghiti <alex@ghiti•fr>,
Heiko Carstens <hca@linux•ibm.com>,
Vasily Gorbik <gor@linux•ibm.com>,
Alexander Gordeev <agordeev@linux•ibm.com>,
Christian Borntraeger <borntraeger@linux•ibm.com>,
Sven Schnelle <svens@linux•ibm.com>,
"Thomas Gleixner" <tglx@kernel•org>,
Ingo Molnar <mingo@redhat•com>, Borislav Petkov <bp@alien8•de>,
Dave Hansen <dave.hansen@linux•intel.com>, <x86@kernel•org>,
"H. Peter Anvin" <hpa@zytor•com>,
Andrew Morton <akpm@linux-foundation•org>,
Lorenzo Stoakes <ljs@kernel•org>,
"Liam R. Howlett" <Liam.Howlett@oracle•com>,
Vlastimil Babka <vbabka@kernel•org>,
Mike Rapoport <rppt@kernel•org>,
Suren Baghdasaryan <surenb@google•com>,
Michal Hocko <mhocko@suse•com>, Zi Yan <ziy@nvidia•com>,
Matthew Brost <matthew.brost@intel•com>,
Joshua Hahn <joshua.hahnjy@gmail•com>,
Rakie Kim <rakie.kim@sk•com>, Byungchul Park <byungchul@sk•com>,
Gregory Price <gourry@gourry•net>,
Ying Huang <ying.huang@linux•alibaba.com>,
"Alistair Popple" <apopple@nvidia•com>,
Sebastian Andrzej Siewior <bigeasy@linutronix•de>,
Clark Williams <clrkwllms@kernel•org>,
"Steven Rostedt" <rostedt@goodmis•org>,
<linux-arm-kernel@lists•infradead.org>,
<loongarch@lists•linux.dev>, <linuxppc-dev@lists•ozlabs.org>,
<linux-riscv@lists•infradead.org>, <linux-s390@vger•kernel.org>,
<linux-mm@kvack•org>, <linux-rt-devel@lists•linux.dev>
Subject: Re: [PATCH 0/2] mm: remove CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE and cleanup CONFIG_MIGRATION
Date: Thu, 19 Mar 2026 11:03:46 +0000 [thread overview]
Message-ID: <20260319110346.000034a5@huawei.com> (raw)
In-Reply-To: <20260319-config_migration-v1-0-42270124966f@kernel.org>
On Thu, 19 Mar 2026 09:19:39 +0100
"David Hildenbrand (Arm)" <david@kernel•org> wrote:
> While working on memory hotplug code cleanups, I realized that
> CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE is not really required anymore.
>
> Changing that revealed some rather nasty looking CONFIG_MIGRATION
> handling.
>
> Let's clean that up by introducing a dedicated CONFIG_NUMA_MIGRATION
> option and reducing the dependencies that CONFIG_MIGRATION has.
>
> Heavily cross compiled. I assume these changes are fine, but messing
> with kconfig sometimes feels like playing with fire :)
Seems fine to me, but I agree it always feels a bit like playing with fire.
So more eyes good!
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei•com>
>
> Signed-off-by: David Hildenbrand (Arm) <david@kernel•org>
> ---
> David Hildenbrand (Arm) (2):
> mm: remove CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE
> mm: introduce CONFIG_NUMA_MIGRATION and simplify CONFIG_MIGRATION
>
> arch/arm64/Kconfig | 1 -
> arch/loongarch/Kconfig | 1 -
> arch/powerpc/Kconfig | 1 -
> arch/riscv/Kconfig | 1 -
> arch/s390/Kconfig | 1 -
> arch/x86/Kconfig | 1 -
> include/linux/memory-tiers.h | 2 +-
> init/Kconfig | 2 +-
> mm/Kconfig | 33 +++++++++++++++------------------
> mm/memory-tiers.c | 12 ++++++------
> mm/mempolicy.c | 2 +-
> mm/migrate.c | 5 ++---
> 12 files changed, 26 insertions(+), 36 deletions(-)
> ---
> base-commit: fbf55982f31ae6aa11f890c36bccc130ce70a312
> change-id: 20260317-config_migration-463e20400499
>
> Best regards,
next prev parent reply other threads:[~2026-03-19 11:20 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-19 8:19 [PATCH 0/2] mm: remove CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE and cleanup CONFIG_MIGRATION David Hildenbrand (Arm)
2026-03-19 8:19 ` [PATCH 1/2] mm: remove CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE David Hildenbrand (Arm)
2026-03-19 13:59 ` Zi Yan
2026-03-19 14:11 ` Lorenzo Stoakes (Oracle)
2026-03-19 14:14 ` Joshua Hahn
2026-03-19 15:24 ` Gregory Price
2026-03-19 16:34 ` Lorenzo Stoakes (Oracle)
2026-03-20 19:34 ` Gregory Price
2026-03-19 18:08 ` David Hildenbrand (Arm)
2026-03-19 18:12 ` Zi Yan
2026-03-19 18:15 ` David Hildenbrand (Arm)
2026-03-19 18:23 ` Zi Yan
2026-03-19 16:18 ` Mike Rapoport
2026-03-19 18:10 ` David Hildenbrand (Arm)
2026-03-19 8:19 ` [PATCH 2/2] mm: introduce CONFIG_NUMA_MIGRATION and simplify CONFIG_MIGRATION David Hildenbrand (Arm)
2026-03-19 14:20 ` Lorenzo Stoakes (Oracle)
2026-03-19 17:39 ` Zi Yan
2026-03-19 11:03 ` Jonathan Cameron [this message]
2026-04-30 3:25 ` [PATCH 0/2] mm: remove CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE and cleanup CONFIG_MIGRATION patchwork-bot+linux-riscv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260319110346.000034a5@huawei.com \
--to=jonathan.cameron@huawei$(echo .)com \
--cc=Liam.Howlett@oracle$(echo .)com \
--cc=agordeev@linux$(echo .)ibm.com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=alex@ghiti$(echo .)fr \
--cc=aou@eecs$(echo .)berkeley.edu \
--cc=apopple@nvidia$(echo .)com \
--cc=bigeasy@linutronix$(echo .)de \
--cc=borntraeger@linux$(echo .)ibm.com \
--cc=bp@alien8$(echo .)de \
--cc=byungchul@sk$(echo .)com \
--cc=catalin.marinas@arm$(echo .)com \
--cc=chenhuacai@kernel$(echo .)org \
--cc=chleroy@kernel$(echo .)org \
--cc=clrkwllms@kernel$(echo .)org \
--cc=dave.hansen@linux$(echo .)intel.com \
--cc=david@kernel$(echo .)org \
--cc=gor@linux$(echo .)ibm.com \
--cc=gourry@gourry$(echo .)net \
--cc=hca@linux$(echo .)ibm.com \
--cc=hpa@zytor$(echo .)com \
--cc=joshua.hahnjy@gmail$(echo .)com \
--cc=kernel@xen0n$(echo .)name \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mm@kvack$(echo .)org \
--cc=linux-riscv@lists$(echo .)infradead.org \
--cc=linux-rt-devel@lists$(echo .)linux.dev \
--cc=linux-s390@vger$(echo .)kernel.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=ljs@kernel$(echo .)org \
--cc=loongarch@lists$(echo .)linux.dev \
--cc=maddy@linux$(echo .)ibm.com \
--cc=matthew.brost@intel$(echo .)com \
--cc=mhocko@suse$(echo .)com \
--cc=mingo@redhat$(echo .)com \
--cc=mpe@ellerman$(echo .)id.au \
--cc=npiggin@gmail$(echo .)com \
--cc=palmer@dabbelt$(echo .)com \
--cc=pjw@kernel$(echo .)org \
--cc=rakie.kim@sk$(echo .)com \
--cc=rostedt@goodmis$(echo .)org \
--cc=rppt@kernel$(echo .)org \
--cc=surenb@google$(echo .)com \
--cc=svens@linux$(echo .)ibm.com \
--cc=tglx@kernel$(echo .)org \
--cc=vbabka@kernel$(echo .)org \
--cc=will@kernel$(echo .)org \
--cc=x86@kernel$(echo .)org \
--cc=ying.huang@linux$(echo .)alibaba.com \
--cc=ziy@nvidia$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox