]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: use compaction for all allocation orders
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:47:11 +0000 (15:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:46 +0000 (17:32 -0800)
commitc5a73c3d55be1faadba35b41a862e036a3b12ddb
tree65cd54e5995b6dae2edd80393f9c0317a0a11ebc
parent5a03b051ed87e72b959f32a86054e1142ac4cf55
thp: use compaction for all allocation orders

It makes no sense not to enable compaction for small order pages as we
don't want to end up with bad order 2 allocations and good and graceful
order 9 allocations.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/compaction.c