]> 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>
Fri, 28 Sep 2012 00:19:18 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:16 +0000 (15:03 +1000)
commite9a2a9d35def315f64e1a3135f9876699cd419cc
tree8a67f753291b8bbcd366ec48fe0ce3ba1f84918c
parentdb33bcc0a616ccadbf1ef31e7b5dbb1bcee8fb8c
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