aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorChristoph Lameter <[email protected]>2006-01-06 00:10:49 -0800
committerLinus Torvalds <[email protected]>2006-01-06 08:33:23 -0800
commit6bda666a03f063968833760c5bb5c13062ab9291 (patch)
tree8ecc0b672c059aa296f80935cda33f3e59970832 /scripts/basic/split-include.c
parent21abb1478a87e26f5fa71dbcb7cf4264272c2248 (diff)
[PATCH] hugepages: fold find_or_alloc_pages into huge_no_page()
The number of parameters for find_or_alloc_page increases significantly after policy support is added to huge pages. Simplify the code by folding find_or_alloc_huge_page() into hugetlb_no_page(). Adam Litke objected to this piece in an earlier patch but I think this is a good simplification. Diffstat shows that we can get rid of almost half of the lines of find_or_alloc_page(). If we can find no consensus then lets simply drop this patch. Signed-off-by: Christoph Lameter <[email protected]> Cc: Andi Kleen <[email protected]> Acked-by: William Lee Irwin III <[email protected]> Cc: Adam Litke <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions