diff options
author | Srikar Dronamraju <srikar@linux.vnet.ibm.com> | 2018-10-06 07:23:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-10-09 02:30:51 -0400 |
commit | e054637597ba36d3729ba6a3a3dd7aad8e2a3003 (patch) | |
tree | ab3f8787ea79cd2b4dd850daf70e1749b3528866 /mm/page_alloc.c | |
parent | 0238df646e6224016a45505d2c111a24669ebe21 (diff) |
mm, sched/numa: Remove remaining traces of NUMA rate-limiting
Remove the leftover pglist_data::numabalancing_migrate_lock and its
initialization, we stopped using this lock with:
efaffc5e40ae ("mm, sched/numa: Remove rate-limiting of automatic NUMA balancing migration")
[ mingo: Rewrote the changelog. ]
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linux-MM <linux-mm@kvack.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1538824999-31230-1-git-send-email-srikar@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 10 |
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 | ||
6197 | static void pgdat_init_numabalancing(struct pglist_data *pgdat) | ||
6198 | { | ||
6199 | spin_lock_init(&pgdat->numabalancing_migrate_lock); | ||
6200 | } | ||
6201 | #else | ||
6202 | static void pgdat_init_numabalancing(struct pglist_data *pgdat) {} | ||
6203 | #endif | ||
6204 | |||
6205 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE | 6196 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE |
6206 | static void pgdat_init_split_queue(struct pglist_data *pgdat) | 6197 | static 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 | ||