Messages in this thread | | | Date | Thu, 25 Feb 2016 19:09:40 -0500 | From | Steven Rostedt <> | Subject | Re: [PATCH] writeback: call writeback tracepoints withoud holding list_lock in wb_writeback() |
| |
On Thu, 25 Feb 2016 15:54:13 -0800 "Shi, Yang" <yang.shi@linaro.org> wrote:
> Can we disable irqs in tracepoints since spin_lock_irqsave is used by > kernfs_* functions.
Disabling preemption or irqs is fine a tracepoint. You just can't sleep, which spin_lock_irqsave() would do on the -rt kernel.
-- Steve
| |