]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Switch to exedited grace periods for suspend as well as hibernation
authorBjørn Mork <bjorn@mork.no>
Tue, 14 May 2013 10:33:47 +0000 (03:33 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 27 May 2013 11:59:19 +0000 (04:59 -0700)
commit1a18db94231ca3dd6d3af5ad9d0953e8f973d662
tree4a1eb0bcd0133f0aa298c8ecdaebcc53a25b5ee1
parent54f64a194732ae9c9f450ccbbe7e905e6b9e5d34
rcu: Switch to exedited grace periods for suspend as well as hibernation

Commit 587ff2cf ("rcu: Expedite grace periods during suspend/resume")
enabled expedited grace periods for hibernation, but not for suspend.
The same issue applies to both cases, so this commit simply applies the
same logic by adding additional cases to the switch statement.

Note that this commit also switches from PM_POST_RESTORE to the
combination of PM_POST_HIBERNATION and PM_POST_SUSPEND.  A separate
patch from Borislav Petkov corrects the documentation to indicate that
this is necessary.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c