lkml.org 
[lkml]   [2021]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] trace: Account bottom half disabled sections.
On Fri, 10 Dec 2021 16:37:06 +0100
Sebastian Andrzej Siewior <bigeasy@linutronix.de> wrote:

> Disabling only bottom halves via local_bh_disable() disables also
> preemption but this remains invisible to tracing. On a CONFIG_PREEMPT
> kernel one might wonder why there is no scheduling happening despite the
> N flag in the trace. The reason might be a rcu_read_lock_bh() section.
>
> Add a 'b' to the tracing output if in task context with disabled bottom
> halves.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
>

Looks good to me. Care to resend without the RFC attached, and that will
make sure it gets into my scripts.

Thanks!

-- Steve

\
 
 \ /
  Last update: 2021-12-10 18:52    [W:0.121 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site