Re: [PATCH] writeback: call writeback tracepoints withoud holding list_lock in wb_writeback()

From: Steven Rostedt
Date: Thu Feb 25 2016 - 19:09:52 EST


On Thu, 25 Feb 2016 15:54:13 -0800
"Shi, Yang" <yang.shi@xxxxxxxxxx> 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