Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

From: Steven Rostedt
Date: Sun Dec 14 2014 - 12:21:45 EST


On Sun, 14 Dec 2014 12:14:57 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> If IRQ setup, or other core pieces of code can use this, then I would
> agree that rcu should be changed. But until then, I rather not add
> another conditional to the core RCU code.

Also, call_rcu*() is called from several hot paths. This location is
not a hot path, and actually, it is in fact rather slow. That's another
reason not to add the logic into the RCU code if just adding it to
tracepoints is sufficient.

-- 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/