]> git.kernelconcepts.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>
Mon, 8 Oct 2012 02:59:58 +0000 (13:59 +1100)
commit541d5c392cde9618e389c43d30b012c711c7e892
tree0148c543e41824a0a8501426ad87dfa8b9b31367
parent27176c17a2d568aafb0cbc6745ec001792791607
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