Messages in this thread | | | Date | Fri, 27 Apr 2018 12:08:58 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH RFC] tracepoint: Introduce tracepoint callbacks executing with preempt on |
| |
On Fri, 27 Apr 2018 11:43:41 -0400 (EDT) Mathieu Desnoyers <mathieu.desnoyers@efficios.com> wrote:
> It does so by disabling preemption in the callbacks, even when it's > redundant with the guarantees already provided by tracepoint-sched-rcu > and by kprobes. It's not that great for a fast-path.
Really, preempt_disable() is not bad for a fast path. It's far better than a local_irq_disable().
-- Steve
| |