]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Expedite grace periods during suspend/resume
authorBorislav Petkov <bp@alien8.de>
Sun, 21 Apr 2013 22:12:42 +0000 (00:12 +0200)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 27 May 2013 11:59:16 +0000 (04:59 -0700)
commit79249db60af36c7f9b1dc7028af571d009111f16
tree9ddc8f331920f12c5ad57add8d41158b7fdb6eca
parenta1d72907df0ffebecacab1059186d11d854d4e30
rcu: Expedite grace periods during suspend/resume

CONFIG_RCU_FAST_NO_HZ can increase grace-period durations by up to
a factor of four, which can result in long suspend and resume times.
Thus, this commit temporarily switches to expedited grace periods when
suspending the box and return to normal settings when resuming.

[ paulmck: This also papers over an audio/irq bug, but hopefully that will
  be fixed soon. ]

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c