Skip to content

Commit a22dd36

Browse files
committed
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Ingo writes: "scheduler fix: Cleanup of dead code left over from the recent sched/numa fixes." * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: mm, sched/numa: Remove remaining traces of NUMA rate-limiting
2 parents 6302aad + e054637 commit a22dd36

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

‎include/linux/mmzone.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -667,10 +667,6 @@ typedef struct pglist_data {
667667
enum zone_type kcompactd_classzone_idx;
668668
wait_queue_head_t kcompactd_wait;
669669
struct task_struct *kcompactd;
670-
#endif
671-
#ifdef CONFIG_NUMA_BALANCING
672-
/* Lock serializing the migrate rate limiting window */
673-
spinlock_t numabalancing_migrate_lock;
674670
#endif
675671
/*
676672
* This is a per-node reserve of pages that are not available

‎mm/page_alloc.c‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6193,15 +6193,6 @@ static unsigned long __init calc_memmap_size(unsigned long spanned_pages,
61936193
return PAGE_ALIGN(pages * sizeof(struct page)) >> PAGE_SHIFT;
61946194
}
61956195

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-
62056196
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
62066197
static void pgdat_init_split_queue(struct pglist_data *pgdat)
62076198
{
@@ -6226,7 +6217,6 @@ static void __meminit pgdat_init_internals(struct pglist_data *pgdat)
62266217
{
62276218
pgdat_resize_init(pgdat);
62286219

6229-
pgdat_init_numabalancing(pgdat);
62306220
pgdat_init_split_queue(pgdat);
62316221
pgdat_init_kcompactd(pgdat);
62326222

0 commit comments

Comments
 (0)