]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: introduce khugepaged_prealloc_page and khugepaged_alloc_page
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)
commit94a92cc03f27255719f27bdbdb289acf8dc7ed3b
tree4dbb727ea55bfb0960487766f3e24b66c463dd8e
parent3cfd441292a77eb3a79f835ff6bbe0e7c447581c
thp: introduce khugepaged_prealloc_page and khugepaged_alloc_page

They are used to abstract the difference between NUMA enabled and NUMA
disabled to make the code more readable

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