aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-10-13 00:38:46 -0400
committerDavid S. Miller <davem@davemloft.net>2018-10-13 00:38:46 -0400
commitd864991b220b7c62e81d21209e1fd978fd67352c (patch)
treeb570a1ad6fc1b959c5bcda6ceca0b321319c01e0 /mm/page_alloc.c
parenta688c53a0277d8ea21d86a5c56884892e3442c5e (diff)
parentbab5c80b211035739997ebd361a679fa85b39465 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts were easy to resolve using immediate context mostly, except the cls_u32.c one where I simply too the entire HEAD chunk. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 706a738c0aee..e2ef1c17942f 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -6193,15 +6193,6 @@ static unsigned long __init calc_memmap_size(unsigned long spanned_pages,
6193 return PAGE_ALIGN(pages * sizeof(struct page)) >> PAGE_SHIFT; 6193 return PAGE_ALIGN(pages * sizeof(struct page)) >> PAGE_SHIFT;
6194} 6194}
6195 6195
6196#ifdef CONFIG_NUMA_BALANCING
6197static void pgdat_init_numabalancing(struct pglist_data *pgdat)
6198{
6199 spin_lock_init(&pgdat->numabalancing_migrate_lock);
6200}
6201#else
6202static void pgdat_init_numabalancing(struct pglist_data *pgdat) {}
6203#endif
6204
6205#ifdef CONFIG_TRANSPARENT_HUGEPAGE 6196#ifdef CONFIG_TRANSPARENT_HUGEPAGE
6206static void pgdat_init_split_queue(struct pglist_data *pgdat) 6197static void pgdat_init_split_queue(struct pglist_data *pgdat)
6207{ 6198{
@@ -6226,7 +6217,6 @@ static void __meminit pgdat_init_internals(struct pglist_data *pgdat)
6226{ 6217{
6227 pgdat_resize_init(pgdat); 6218 pgdat_resize_init(pgdat);
6228 6219
6229 pgdat_init_numabalancing(pgdat);
6230 pgdat_init_split_queue(pgdat); 6220 pgdat_init_split_queue(pgdat);
6231 pgdat_init_kcompactd(pgdat); 6221 pgdat_init_kcompactd(pgdat);
6232 6222