Re: [RFC PATCH 2/2] rcu,debug_core: allow the kernel debugger to reset the rcu stall timer

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul E. McKenney
Date: Monday, August 9, 2010 - 10:43 am

On Mon, Aug 09, 2010 at 12:12:12AM -0500, Jason Wessel wrote:

Thank you for forwarding this!

A couple of questions below.


OK, so you are suppressing RCU CPU stall warnings for rcu_sched and
rcu_bh, but not for preemptible RCU.  I believe that you want all of
them covered.

I have a number of recent patches that allow RCU CPU stall warnings to
be suppressed, one of which allows them to be suppressed using sysfs.
Would that work for you, or do you need an in-kernel interface?

If you do need an in-kernel interface, I could export (and probably
rename) rcu_panic(), which is a static in 2.6.35.  This assumes that you
never want to re-enable RCU CPU stall warnings once you suppress them,
which is what your patch appears to do.

So, if I export a suppress_rcu_cpu_stall() function that permanently
disabled RCU CPU stall warnings, would that work for you?  (They could
be manually re-enabled via sysfs.)

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 0/2] RCU stall handler for kernel debugger, Jason Wessel, (Sun Aug 8, 10:12 pm)
Re: [RFC PATCH 2/2] rcu,debug_core: allow the kernel debug ..., Paul E. McKenney, (Mon Aug 9, 10:43 am)