aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorOscar Salvador <osalvador@suse.de>2024-10-07 09:50:32 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-11-06 20:11:10 -0800
commita8d457b29b017a8499ff885d64804de3ff203dee (patch)
tree079e458434edf549f4761d80b5274acf6f1f9506 /mm/vmstat.c
parentarch/x86: teach arch_get_unmapped_area_vmflags to handle hugetlb mappings (diff)
downloadwireguard-linux-a8d457b29b017a8499ff885d64804de3ff203dee.tar.xz
wireguard-linux-a8d457b29b017a8499ff885d64804de3ff203dee.zip
arch/sparc: teach arch_get_unmapped_area{_topdown} to handle hugetlb mappings
We want to stop special casing hugetlb mappings and make them go through generic channels, so teach arch_get_unmapped_area{_topdown} to handle those. sparc specific hugetlb function does not set info.align_offset, and does not care about adjusting the align_mask for MAP_SHARED cases, so the same here for compatibility. Link: https://lkml.kernel.org/r/20241007075037.267650-5-osalvador@suse.de Signed-off-by: Oscar Salvador <osalvador@suse.de> Cc: David Hildenbrand <david@redhat.com> Cc: Donet Tom <donettom@linux.ibm.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Muchun Song <muchun.song@linux.dev> Cc: Peter Xu <peterx@redhat.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions