diff options
| author | David Hildenbrand <david@redhat.com> | 2024-12-05 12:05:08 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-14 09:40:53 +0300 |
| commit | a684d59a323834c7483a40e21b75d14063771c58 (patch) | |
| tree | 85d65f2e7049e675b7e94ec9e7dc3d413745688f /tools/perf/scripts/python/bin | |
| parent | f58498b72638262bd1b8d63143c5cf71761d57b7 (diff) | |
| download | linux-a684d59a323834c7483a40e21b75d14063771c58.tar.xz | |
mm/memory_hotplug: don't use __GFP_HARDWALL when migrating pages via memory offlining
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.
Link: https://lkml.kernel.org/r/20241205090508.2095225-3-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Suggested-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Oscar Salvador <osalvador@suse.de>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
