diff options
author | Borislav Petkov <bp@alien8.de> | 2013-04-21 22:12:42 (GMT) |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-08-19 00:37:17 (GMT) |
commit | d1d74d14e98a6be740a6f12456c7d9ad47be9c9c (patch) | |
tree | 2a0d4f2b81e587ecbbc0362314a36ddec2ff64f2 /fs/ext4/xattr_user.c | |
parent | f7f7bac9cb1c50783f15937a11743655a5756a36 (diff) | |
download | linux-fsl-qoriq-d1d74d14e98a6be740a6f12456c7d9ad47be9c9c.tar.xz |
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. Similar
logic is applied to hibernation.
Because expedited grace periods are of dubious benefit on very large
systems, so this commit restricts their automated use during suspend
and resume to systems of 256 or fewer CPUs. (Some day a number of
Linux-kernel facilities, including RCU's expedited grace periods,
will be more scalable, but I need to see bug reports first.)
[ 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: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'fs/ext4/xattr_user.c')
0 files changed, 0 insertions, 0 deletions