Merge "sched/core_ctl: Fix state_lock spinlock contention"

This commit is contained in:
Linux Build Service Account 2017-03-23 09:44:48 -07:00 committed by Gerrit - the friendly Code Review server
commit ce0b78dbf1

View file

@ -88,6 +88,7 @@
#include "sched.h"
#include "../workqueue_internal.h"
#include "../smpboot.h"
#include "../time/tick-internal.h"
#define CREATE_TRACE_POINTS
#include <trace/events/sched.h>
@ -3260,7 +3261,8 @@ void scheduler_tick(void)
if (curr->sched_class == &fair_sched_class)
check_for_migration(rq, curr);
core_ctl_check(wallclock);
if (cpu == tick_do_timer_cpu)
core_ctl_check(wallclock);
}
#ifdef CONFIG_NO_HZ_FULL