diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 3c11ae0a948d..6ae2739b8f19 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -5481,7 +5481,7 @@ need_resched_nonpreemptible: | |||
5481 | } | 5481 | } |
5482 | EXPORT_SYMBOL(schedule); | 5482 | EXPORT_SYMBOL(schedule); |
5483 | 5483 | ||
5484 | #ifdef CONFIG_SMP | 5484 | #ifdef CONFIG_MUTEX_SPIN_ON_OWNER |
5485 | /* | 5485 | /* |
5486 | * Look out! "owner" is an entirely speculative pointer | 5486 | * Look out! "owner" is an entirely speculative pointer |
5487 | * access and not reliable. | 5487 | * access and not reliable. |
@@ -10901,6 +10901,7 @@ void synchronize_sched_expedited(void) | |||
10901 | spin_unlock_irqrestore(&rq->lock, flags); | 10901 | spin_unlock_irqrestore(&rq->lock, flags); |
10902 | } | 10902 | } |
10903 | rcu_expedited_state = RCU_EXPEDITED_STATE_IDLE; | 10903 | rcu_expedited_state = RCU_EXPEDITED_STATE_IDLE; |
10904 | synchronize_sched_expedited_count++; | ||
10904 | mutex_unlock(&rcu_sched_expedited_mutex); | 10905 | mutex_unlock(&rcu_sched_expedited_mutex); |
10905 | put_online_cpus(); | 10906 | put_online_cpus(); |
10906 | if (need_full_sync) | 10907 | if (need_full_sync) |