Re: [PATCH] mm/Kconfig: allow user to select MIGRATION if MEMORY_FAILURE is enabled

Xie Yuanbin <[email protected]>
Newsgroups org.kvack.linux-mm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Thanks for replying.

On Thu, 13 Aug 2026 11:11:11 +0200, David Hildenbrand wrote:
> On 8/13/26 09:23, Xie Yuanbin wrote:
>> I think that just making MEMORY_FAILURE select MIGRATION is also a very
>> good solution, and I respect the maintainers' opinion.
>
> There must be a good reason to do something fine grained like
> MEMORY_FAILURE_MIGRATON, really.
>
> So if there is a use case out there that absolutely doesn't want
> CONFIG_MIGRATION but does want CONFIG_MEMORY_FAILURE, we could discuss it.

At least so far, I haven't encountered such a use case.

> As really only softdirty needs page migration (IIRC), we could also just put
> that under a separate config that implies CONFIG_MIGRATION, like
> CONFIG_MEMORY_FAILURE_SOFT_OFFLINE. But I'd rather avoid that unless really
> required.

Okay, I understand it now. Making MEMORY_FAILURE select MIGRATION should
be enough.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.