Re: call_rcu from trace_preempt

From: Steven Rostedt
Date: Tue Jun 16 2015 - 21:18:39 EST


On Tue, 16 Jun 2015 18:04:39 -0700
Alexei Starovoitov <ast@xxxxxxxxxxxx> wrote:
>
> you mean similar to what rb_wakeups() and friends are doing?
> makes sense. starting to study it...

Yes, I meant those functions. But yours would be slightly different. As
it would be the one calling the irq work that would be setting the
flag, not a separate entity (like the reader of the ring buffer).

I haven't fully thought it through, but I imagine it should still work.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/