1. 03 Jul, 2009 2 commits
    • Paul E. McKenney's avatar
      rcu: Add synchronize_sched_expedited() torture tests · 0acc512c
      Paul E. McKenney authored
      This patch adds rcutorture tests for the new
      synchronize_sched_expedited() primitive, and also does some
      whitespace cleanups in kernel/rcutorture.c as well.
      Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: akpm@linux-foundation.org
      Cc: torvalds@linux-foundation.org
      Cc: davem@davemloft.net
      Cc: dada1@cosmosbay.com
      Cc: zbr@ioremap.net
      Cc: jeff.chua.linux@gmail.com
      Cc: paulus@samba.org
      Cc: laijs@cn.fujitsu.com
      Cc: jengelh@medozas.de
      Cc: r000n@r000n.net
      Cc: benh@kernel.crashing.org
      Cc: mathieu.desnoyers@polymtl.ca
      LKML-Reference: <12459460981342-git-send-email->
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      0acc512c
    • Paul E. McKenney's avatar
      rcu: Add synchronize_sched_expedited() primitive · 03b042bf
      Paul E. McKenney authored
      This adds the synchronize_sched_expedited() primitive that
      implements the "big hammer" expedited RCU grace periods.
      
      This primitive is placed in kernel/sched.c rather than
      kernel/rcupdate.c due to its need to interact closely with the
      migration_thread() kthread.
      
      The idea is to wake up this kthread with req->task set to NULL,
      in response to which the kthread reports the quiescent state
      resulting from the kthread having been scheduled.
      
      Because this patch needs to fallback to the slow versions of
      the primitives in response to some races with CPU onlining and
      offlining, a new synchronize_rcu_bh() primitive is added as
      well.
      Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: akpm@linux-foundation.org
      Cc: torvalds@linux-foundation.org
      Cc: davem@davemloft.net
      Cc: dada1@cosmosbay.com
      Cc: zbr@ioremap.net
      Cc: jeff.chua.linux@gmail.com
      Cc: paulus@samba.org
      Cc: laijs@cn.fujitsu.com
      Cc: jengelh@medozas.de
      Cc: r000n@r000n.net
      Cc: benh@kernel.crashing.org
      Cc: mathieu.desnoyers@polymtl.ca
      LKML-Reference: <12459460982947-git-send-email->
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      03b042bf
  2. 24 Jun, 2009 2 commits
    • Paul E. McKenney's avatar
      rcu: Remove Classic RCU · c17ef453
      Paul E. McKenney authored
      Remove Classic RCU, given that the combination of Tree RCU and
      the proposed Bloatwatch RCU do everything that Classic RCU can
      with fewer bugs.
      
      Tree RCU has been default in x86 builds for almost six months,
      and seems to be quite reliable, so there does not seem to be
      much justification for keeping the Classic RCU code and config
      complexity around anymore.
      Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
      Cc: akpm@linux-foundation.org
      Cc: niv@us.ibm.com
      Cc: dvhltc@us.ibm.com
      Cc: dipankar@in.ibm.com
      Cc: dhowells@redhat.com
      Cc: lethal@linux-sh.org
      Cc: kernel@wantstofly.org
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      c17ef453
    • Paul E. McKenney's avatar
      rcu: Mark Hierarchical RCU no longer experimental · f6faac71
      Paul E. McKenney authored
      Removes the warnings about Hierarchical RCU being experimental,
      given that it has gone through almost six months of being the
      default RCU in mainline for the x86 with very little trouble.
      
      This makes hierarchical-RCU bootup look less scary.
      Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: akpm@linux-foundation.org
      Cc: niv@us.ibm.com
      Cc: dvhltc@us.ibm.com
      Cc: dipankar@in.ibm.com
      Cc: dhowells@redhat.com
      Cc: lethal@linux-sh.org
      Cc: kernel@wantstofly.org
      Cc: cl@linux-foundation.org
      Cc: schamp@sgi.com
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      f6faac71
  3. 23 Jun, 2009 36 commits