Merge "sched/core_ctl: Fix state_lock spinlock contention"
This commit is contained in:
commit
ce0b78dbf1
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue