[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z1aguIT-Br920uey@localhost.localdomain>
Date: Mon, 9 Dec 2024 08:48:08 +0100
From: Oscar Salvador <osalvador@...e.de>
To: David Hildenbrand <david@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Andrew Morton <akpm@...ux-foundation.org>,
Vlastimil Babka <vbabka@...e.cz>, Zi Yan <ziy@...dia.com>
Subject: Re: [PATCH v1 2/2] mm/memory_hotplug: don't use __GFP_HARDWALL when
migrating pages via memory offlining
On Thu, Dec 05, 2024 at 09:52:17AM +0100, David Hildenbrand wrote:
> We'll migrate pages allocated by other context; respecting the cpuset of
> the memory offlining context when allocating a migration target does not
> make sense.
>
> Drop the __GFP_HARDWALL by using GFP_KERNEL.
>
> Note that in an ideal world, migration code could figure out the cpuset
> of the original context and take that into consideration.
>
> Suggested-by: Vlastimil Babka <vbabka@...e.cz>
> Signed-off-by: David Hildenbrand <david@...hat.com>
Acked-by: Oscar Salvador <osalvador@...e.de>
--
Oscar Salvador
SUSE Labs
Powered by blists - more mailing lists