1. 15 8月, 2008 1 次提交
  2. 19 5月, 2008 1 次提交
  3. 04 10月, 2006 3 次提交
    • P
      [PATCH] srcu-3: RCU variant permitting read-side blocking · 621934ee
      Paul E. McKenney 提交于
      Updated patch adding a variant of RCU that permits sleeping in read-side
      critical sections.  SRCU is as follows:
      
      o	Each use of SRCU creates its own srcu_struct, and each
      	srcu_struct has its own set of grace periods.  This is
      	critical, as it prevents one subsystem with a blocking
      	reader from holding up SRCU grace periods for other
      	subsystems.
      
      o	The SRCU primitives (srcu_read_lock(), srcu_read_unlock(),
      	and synchronize_srcu()) all take a pointer to a srcu_struct.
      
      o	The SRCU primitives must be called from process context.
      
      o	srcu_read_lock() returns an int that must be passed to
      	the matching srcu_read_unlock().  Realtime RCU avoids the
      	need for this by storing the state in the task struct,
      	but SRCU needs to allow a given code path to pass through
      	multiple SRCU domains -- storing state in the task struct
      	would therefore require either arbitrary space in the
      	task struct or arbitrary limits on SRCU nesting.  So I
      	kicked the state-storage problem up to the caller.
      
      	Of course, it is not permitted to call synchronize_srcu()
      	while in an SRCU read-side critical section.
      
      o	There is no call_srcu().  It would not be hard to implement
      	one, but it seems like too easy a way to OOM the system.
      	(Hey, we have enough trouble with call_rcu(), which does
      	-not- permit readers to sleep!!!)  So, if you want it,
      	please tell me why...
      
      [josht@us.ibm.com: sparse notation]
      Signed-off-by: NPaul E. McKenney <paulmck@us.ibm.com>
      Signed-off-by: NJosh Triplett <josh@freedesktop.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      621934ee
    • P
      Documentation: remove duplicated words · 670e9f34
      Paolo Ornati 提交于
      Remove many duplicated words under Documentation/ and do other small
      cleanups.
      
      Examples:
              "and and" --> "and"
              "in in" --> "in"
              "the the" --> "the"
              "the the" --> "to the"
              ...
      Signed-off-by: NPaolo Ornati <ornati@fastwebnet.it>
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      670e9f34
    • M
      Fix typos in Documentation/: 'S' · 53cb4726
      Matt LaPlante 提交于
      This patch fixes typos in various Documentation txts. The patch addresses
      some words starting with the letter 'S'.
      Signed-off-by: NMatt LaPlante <kernel1@cyberdogtech.com>
      Acked-by: NAlan Cox <alan@redhat.com>
      Acked-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      53cb4726
  4. 11 7月, 2006 1 次提交
  5. 26 6月, 2006 1 次提交
  6. 23 6月, 2006 1 次提交
  7. 29 3月, 2006 1 次提交
  8. 25 3月, 2006 1 次提交
  9. 02 2月, 2006 1 次提交
  10. 07 11月, 2005 1 次提交
  11. 11 9月, 2005 1 次提交