rcu: Reduce rcu kthread wakeups
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 1413230486.11421.47.camel@fourier
Quoted 12 lines · Kamal Mostafa
Quoted 7 lines · Pranith Kumar
Backport 2aa792e and parts of 48a7639 to 3.13 which is Ubuntu LTS kernel.
This commit reduces the number of rcu kthread wakeups. Tested for over a week on my desktop 14.04 system.
Signed-off-by Pranith Kumar <[email protected]>CC Paul E. McKenney <[email protected]>Hi Pranith and Paul-
Quoted 8 lines
This looks good, but how about lets split it back into two commits (the second a clean cherry-pick) and submit it for 3.{14,16,17}-stable also:
3.13 and 3.14 could apply the attached 48a7639 mini-backport (just supplying
rcu_gp_kthread_wake), and then cherry-pick 2aa792e.3.16 and 3.17 carry 48a7639 already, so could just cherry-pick 2aa792e.
The patch looks good. The commit message can be trimmed to just the last para:
Add a new rcu_gp_kthread_wake() which wakes up the gp kthread when it is necessary and safe to do so: No self-wakes, no wake-ups if the ->gp_flags field indicates there is no need (as in someone else did the wake-up before we got around to it), and no wake-ups before the grace-period kthread has been created.
Thanks!
Signature · 1 line
Pranith