thp: set recommended min free kbytes
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:47:04 +0000 (15:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:44 +0000 (17:32 -0800)
commitf000565adb770b14cebbafde0a4f3e61a3342a63
treeff2884da257e1df1b8cb4817d09c892d4f84727c
parentcd7548ab360c462118568eebb8c6da3bc303b02e
thp: set recommended min free kbytes

If transparent hugepage is enabled initialize min_free_kbytes to an
optimal value by default.  This moves the hugeadm algorithm in kernel.

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/huge_memory.c