diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-05-23 19:43:58 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-08-13 23:35:49 +0200 |
commit | aeeacd9d844b2219d47e9010298b635c68a2a4c9 (patch) | |
tree | 25d875d28d600c3aebd746fbe0174c207f824238 /net/9p/error.c | |
parent | rcu/nohz: Turn off tick for offloaded CPUs (diff) | |
download | linux-aeeacd9d844b2219d47e9010298b635c68a2a4c9.tar.xz linux-aeeacd9d844b2219d47e9010298b635c68a2a4c9.zip |
rcu/nocb: Enable re-awakening under high callback load
The __call_rcu_nocb_wake() function and its predecessors set
->qlen_last_fqs_check to zero for the first callback and to LONG_MAX / 2
for forced reawakenings. The former can result in a too-quick reawakening
when there are many callbacks ready to invoke and the latter prevents a
second reawakening. This commit therefore sets ->qlen_last_fqs_check
to the current number of callbacks in both cases. While in the area,
this commit also moves both assignments under ->nocb_lock.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'net/9p/error.c')
0 files changed, 0 insertions, 0 deletions