summaryrefslogtreecommitdiffstats
path: root/mm/internal.h
diff options
context:
space:
mode:
authorMel Gorman2009-06-17 00:32:19 +0200
committerLinus Torvalds2009-06-17 04:47:36 +0200
commita1dd268cf6306565a31a48deff8bf4f6b4b105f7 (patch)
treea6d2cfb6647b22f5896813e7f39db8546e921ef2 /mm/internal.h
parentpage allocator: sanity check order in the page allocator slow path (diff)
downloadkernel-qcow2-linux-a1dd268cf6306565a31a48deff8bf4f6b4b105f7.tar.gz
kernel-qcow2-linux-a1dd268cf6306565a31a48deff8bf4f6b4b105f7.tar.xz
kernel-qcow2-linux-a1dd268cf6306565a31a48deff8bf4f6b4b105f7.zip
mm: use alloc_pages_exact() in alloc_large_system_hash() to avoid duplicated logic
alloc_large_system_hash() has logic for freeing pages at the end of an excessively large power-of-two buffer that is a duplicate of what is in alloc_pages_exact(). This patch converts alloc_large_system_hash() to use alloc_pages_exact(). Signed-off-by: Mel Gorman <mel@csn.ul.ie> Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> Cc: Christoph Lameter <cl@linux.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions