]> Git Repo - linux.git/commit
mm/page_alloc: combine __alloc_pages and __alloc_pages_nodemask
authorMatthew Wilcox (Oracle) <[email protected]>
Fri, 30 Apr 2021 06:01:15 +0000 (23:01 -0700)
committerLinus Torvalds <[email protected]>
Fri, 30 Apr 2021 18:20:42 +0000 (11:20 -0700)
commit84172f4bb752424415756351a40f8da5714e1554
treedaf3da208d6fa979bf4e32ca8dfe61e6b87e3fe0
parent6e5e0f286eb0ecf12afaa3e73c321bc5bf599abb
mm/page_alloc: combine __alloc_pages and __alloc_pages_nodemask

There are only two callers of __alloc_pages() so prune the thicket of
alloc_page variants by combining the two functions together.  Current
callers of __alloc_pages() simply add an extra 'NULL' parameter and
current callers of __alloc_pages_nodemask() call __alloc_pages() instead.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Mike Rapoport <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/admin-guide/mm/transhuge.rst
include/linux/gfp.h
mm/hugetlb.c
mm/internal.h
mm/mempolicy.c
mm/migrate.c
mm/page_alloc.c
This page took 0.058187 seconds and 4 git commands to generate.