]> 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>
Wed, 26 Sep 2012 01:33:23 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:25:57 +0000 (17:25 +1000)
commit3cfd441292a77eb3a79f835ff6bbe0e7c447581c
treebb32339f5d631f3b6d0d095526e90141da84deb1
parent2824ae9b459de5fc06a7b0f64a105cc64d61b5f3
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