diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-04-08 15:00:03 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-06-15 02:01:39 +0300 |
commit | 0d95092ccba1a30b74fa52ff94ec5415e63744a0 (patch) | |
tree | 9476ba20a1ddab23b73d2b3185f323061151d02e /net/xfrm/Kconfig | |
parent | af8c34ce6ae32addda3788d54a7e340cad22516b (diff) | |
download | linux-0d95092ccba1a30b74fa52ff94ec5415e63744a0.tar.xz |
rcu: Fix outdated rcu_scheduler_active comment
The comment header for rcu_scheduler_active states that it is used
to optimize synchronize_sched() at early boot. This is incorrect.
The synchronize_sched() function instead checks the number of online
CPUs. This commit therefore replaces the comment's synchronize_sched()
with synchronize_rcu(), which really does use rcu_scheduler_active for
this purpose.
Reported-by: Lihao Liang <lihao.liang@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'net/xfrm/Kconfig')
0 files changed, 0 insertions, 0 deletions