]> 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>
Thu, 13 Sep 2012 00:58:40 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Sep 2012 05:30:04 +0000 (15:30 +1000)
commitff9afcbbb9cc86528e4772672cd77b021a0ff38d
tree4031bd63094d9e95ba0f15ce13e734c624d2a616
parent548e8dbb864ea65f7b272f959684194eb6b09dc3
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