[PATCH RFC tip/core/rcu 03/16] rcu: move some code from macro to function
From: Lai Jiangshan <laijs(a)cn.fujitsu.com> Shrink the RCU_INIT_FLAVOR() macro by moving all but the initialization of the ->rda[] array to rcu_init_one(). The call to rcu_init_one() can then be moved to the end of the RCU_INIT_FLAVOR() macro, which is required because rcu_boot_init_percpu_data(), which is now ca... 15 Apr 2010 14:44
[PATCH RFC tip/core/rcu 13/16] rcu: print boot-time console messages if RCU configs out of ordinary
Print boot-time messages if tracing is enabled, if fanout is set to non-default values, if exact fanout is specified, if accelerated dyntick-idle grace periods have been enabled, if RCU-lockdep is enabled, if rcutorture has been boot-time enabled, if the CPU stall detector has been disabled, or if four-level hierar... 15 Apr 2010 14:44
[PATCH RFC tip/core/rcu 11/16] rcu: enable CPU_STALL_VERBOSE by default
The CPU_STALL_VERBOSE kernel configuration parameter was added to 2.6.34 to identify any preempted/blocked tasks that were preventing the current grace period from completing when running preemptible RCU. As is conventional for new configurations parameters, this defaulted disabled. It is now time to enable it by... 15 Apr 2010 14:44
[PATCH RFC tip/core/rcu 01/16] rcu: substitute set_need_resched for sending resched IPIs
This patch adds a check to __rcu_pending() that does a local set_need_resched() if the current CPU is holding up the current grace period and if force_quiescent_state() will be called soon. The goal is to reduce the probability that force_quiescent_state() will need to do smp_send_reschedule(), which sends an IPI ... 15 Apr 2010 14:44
[PATCH RFC tip/core/rcu 06/16] rcu: fix now-bogus rcu_scheduler_active comments.
The rcu_scheduler_active check has been wrapped into the new debug_lockdep_rcu_enabled() function, so update the comments to reflect this new reality. Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> --- include/linux/rcupdate.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) dif... 15 Apr 2010 14:44
[PATCH RFC tip/core/rcu 14/16] rcu: improve RCU CPU stall-warning messages
The existing RCU CPU stall-warning messages can be confusing, especially in the case where one CPU detects a single other stalled CPU. In addition, the console messages did not say which flavor of RCU detected the stall, which can make it difficult to work out exactly what is causing the stall. This commit improve... 15 Apr 2010 14:44
[PATCH RFC tip/core/rcu 12/16] rcu: disable CPU stall warnings upon panic
The current RCU CPU stall warnings remain enabled even after a panic occurs, which some people have found to be a bit counterproductive. This patch therefore uses a notifier to disable stall warnings once a panic occurs. Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> --- kernel/rcutree.c | 24 +... 15 Apr 2010 14:44
[PATCH RFC tip/core/rcu 08/16] rcu: rename rcutiny rcu_ctrlblk to rcu_sched_ctrlblk
Make naming line up in preparation for CONFIG_TINY_PREEMPT_RCU. Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> --- kernel/rcutiny.c | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/kernel/rcutiny.c b/kernel/rcutiny.c index 272c6d2..d9f8a62 100644 --- a/kernel... 15 Apr 2010 14:44
KVM MMU: fix kvm_mmu_zap_page() and its calling path
On Fri, Apr 16, 2010 at 09:25:03PM +0800, Xiao Guangrong wrote: - calculate zapped page number properly in mmu_zap_unsync_children() - calculate freeed page number properly kvm_mmu_change_mmu_pages() Signed-off-by: Xiao Guangrong <xiaoguangrong(a)cn.fujitsu.com> --- arch/x86/kvm/mmu.c | 12 ++++++++-... 16 Apr 2010 17:20
[PATCH 08/10] vmscan: Setup pagevec as late as possible in shrink_inactive_list()
shrink_inactive_list() sets up a pagevec to release unfreeable pages. It uses significant amounts of stack doing this. This patch splits shrink_inactive_list() to take the stack usage out of the main path so that callers to writepage() do not contain an unused pagevec on the stack. Signed-off-by: Mel Gorman <mel... 15 Apr 2010 13:38