Re: [PATCH v5 1/1] blktrace: switch trace spinlock to a raw spinlock

From: Jens Axboe
Date: Mon Dec 20 2021 - 15:50:56 EST


On Mon, 20 Dec 2021 16:28:27 -0300, Wander Lairson Costa wrote:
> The running_trace_lock protects running_trace_list and is acquired
> within the tracepoint which implies disabled preemption. The spinlock_t
> typed lock can not be acquired with disabled preemption on PREEMPT_RT
> because it becomes a sleeping lock.
> The runtime of the tracepoint depends on the number of entries in
> running_trace_list and has no limit. The blk-tracer is considered debug
> code and higher latencies here are okay.
>
> [...]

Applied, thanks!

[1/1] blktrace: switch trace spinlock to a raw spinlock
commit: 361c81dbc58c8aa230e1f2d556045fa7bc3eb4a3

Best regards,
--
Jens Axboe