1. 24 9月, 2013 1 次提交
  2. 19 8月, 2013 1 次提交
    • P
      rcu: Make call_rcu() leak callbacks for debug-object errors · ae150184
      Paul E. McKenney 提交于
      If someone does a duplicate call_rcu(), the worst thing the second
      call_rcu() could do would be to actually queue the callback the second
      time because doing so corrupts whatever list the callback was already
      queued on.  This commit therefore makes __call_rcu() check the new
      return value from debug-objects and leak the callback upon error.
      This commit also substitutes rcu_leak_callback() for whatever callback
      function was previously in place in order to avoid freeing the callback
      out from under any readers that might still be referencing it.
      
      These changes increase the probability that the debug-objects error
      messages will actually make it somewhere visible.
      Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Sedat Dilek <sedat.dilek@gmail.com>
      Cc: Davidlohr Bueso <davidlohr.bueso@hp.com>
      Cc: Rik van Riel <riel@surriel.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Tested-by: NSedat Dilek <sedat.dilek@gmail.com>
      Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
      ae150184
  3. 30 7月, 2013 1 次提交
    • S
      rcu: Add const annotation to char * for RCU tracepoints and functions · e66c33d5
      Steven Rostedt (Red Hat) 提交于
      All the RCU tracepoints and functions that reference char pointers do
      so with just 'char *' even though they do not modify the contents of
      the string itself. This will cause warnings if a const char * is used
      in one of these functions.
      
      The RCU tracepoints store the pointer to the string to refer back to them
      when the trace output is displayed. As this can be minutes, hours or
      even days later, those strings had better be constant.
      
      This change also opens the door to allow the RCU tracepoint strings and
      their addresses to be exported so that userspace tracing tools can
      translate the contents of the pointers of the RCU tracepoints.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      e66c33d5
  4. 29 1月, 2013 1 次提交
  5. 24 10月, 2012 1 次提交
  6. 22 2月, 2012 3 次提交
  7. 12 12月, 2011 1 次提交
  8. 29 9月, 2011 3 次提交