Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1713198

Re: RCU stall when using function_graph

From "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: RCU stall when using function_graph
Date 2017-08-16 20:00 +0200
Message-ID <ufaLM-1FQ-17@gated-at.bofh.it> (permalink)
References (5 earlier) <ueK4W-1Pe-7@gated-at.bofh.it> <uf2bv-4Pi-7@gated-at.bofh.it> <uf7bc-83I-29@gated-at.bofh.it> <uf9wm-VL-17@gated-at.bofh.it> <uf9G1-11c-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Aug 16, 2017 at 12:41:40PM -0400, Steven Rostedt wrote:
> On Wed, 16 Aug 2017 09:32:28 -0700
> "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> wrote:
> 
> > Let me see if I understand you...  About halfway to the stall limit,
> > RCU triggers an irq_work (on each CPU that has not yet passed through
> > a quiescent state, IPIing them in turn?), and if the irq_work has
> > not completed by the end of the stall limit, RCU adds that to its
> > stall-warning message.
> 
> Doesn't even have to be half way through. It could be done at the
> limit, and then wait a little more.

Agreed.  However, I take other evasive action halfway through, so there
is a nice place to put the code.

> > Or am I missing something here?
> 
> No, I think that's what I was suggesting.

I don't see a way of canceling an irq_work.

Ah, but there is an irq_work_queue_on() that fails if still pending.
I should be able to use that instead of cancel.  Plus, -I- don't have
to send the IPIs, I can just let irq_work_queue_on() do my dirty work!

This should provide sufficient entertainment for a bit!  ;-)

							Thanx, Paul

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: RCU stall when using function_graph Steven Rostedt <rostedt@goodmis.org> - 2017-08-15 15:30 +0200
  Re: RCU stall when using function_graph Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-08-16 10:50 +0200
    Re: RCU stall when using function_graph Steven Rostedt <rostedt@goodmis.org> - 2017-08-16 16:10 +0200
      Re: RCU stall when using function_graph "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-08-16 18:40 +0200
        Re: RCU stall when using function_graph Steven Rostedt <rostedt@goodmis.org> - 2017-08-16 18:50 +0200
          Re: RCU stall when using function_graph "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-08-16 20:00 +0200

csiph-web