Re: [PATCH] mm/Kconfig: allow user to select MIGRATION if MEMORY_FAILURE is enabled
From: Lorenzo Stoakes (ARM)
Date: Thu Aug 13 2026 - 05:32:27 EST
On Thu, Aug 13, 2026 at 10:26:04AM +0100, Lorenzo Stoakes (ARM) wrote:
> On Wed, Aug 12, 2026 at 04:32:12PM +0300, Mike Rapoport wrote:
> > On Wed, Aug 12, 2026 at 11:55:03AM +0100, Lorenzo Stoakes (ARM) wrote:
> > > On Wed, Aug 12, 2026 at 01:45:30PM +0300, Mike Rapoport wrote:
> > > > Hi,
> > > >
> > > > On Wed, Aug 12, 2026 at 05:16:44PM +0800, Xie Yuanbin wrote:
> > > > > Currently, memory-failure can be enabled without migration. However,
> > > > > migration cannot be selected by user when memory-failure is enabled.
> > > > >
> > > > > Migration is very useful for soft_offline_page(), which may be triggered
> > > > > by correctable memory errors. Most of the anonymous or file-mapping
> > > > > faulty pages can be migrated to other healthy pages.
> > > > >
> > > > > Allow user to select MIGRATION if MEMORY_FAILURE is enabled.
> > > > > Also, select MIGRATION by default if MEMORY_FAILURE is enabled.
> > > >
> > > > Do we want to make users decide if they need MIGRATION when MEMORY_FAILURE
> > > > is enabled?
> > > >
> > > > Just make MEMORY_FAILURE select MIGRATION.
> > >
> > > NO.
> > >
> > > Explain first why the hell one of the other options that selection migration
> > > can't be enabled.
> >
> > Think small systems ;-P
>
> That need soft offline and migration?...
But still, he did do what I asked and reality > theory so your suggestion seems
the least worst way.
>
> --
> Cheers, Lorenzo
--
Cheers, Lorenzo