]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: release page in page pre-alloc path
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Fri, 28 Sep 2012 00:19:18 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 06:46:48 +0000 (16:46 +1000)
commitfc40f69c0d4785f023ff36099909986a81919bd2
treee3261db76b858fbd6efb020ff2e294c213d635b0
parent3a966a6be1054b236002716c3d3708bec294a4f1
thp: release page in page pre-alloc path

If NUMA is enabled, we can release the page in the page pre-alloc
operation, then the CONFIG_NUMA dependent code can be reduced

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c