lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fc51b600-41b1-49c3-9189-8857c72d47b4@redhat.com>
Date: Mon, 24 Feb 2025 19:48:05 -0500
From: Waiman Long <llong@...hat.com>
To: Steven Rostedt <rostedt@...dmis.org>, Waiman Long <llong@...hat.com>
Cc: "Masami Hiramatsu (Google)" <mhiramat@...nel.org>,
 Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>,
 Will Deacon <will@...nel.org>, Andrew Morton <akpm@...ux-foundation.org>,
 Boqun Feng <boqun.feng@...il.com>, Joel Granados <joel.granados@...nel.org>,
 Anna Schumaker <anna.schumaker@...cle.com>, Lance Yang
 <ioworker0@...il.com>, Kent Overstreet <kent.overstreet@...ux.dev>,
 Yongliang Gao <leonylgao@...cent.com>, Tomasz Figa <tfiga@...omium.org>,
 Sergey Senozhatsky <senozhatsky@...omium.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/2] hung_task: Show the blocker task if the task is
 hung on mutex


On 2/24/25 9:51 AM, Steven Rostedt wrote:
> On Sun, 23 Feb 2025 14:53:28 -0500
> Waiman Long <llong@...hat.com> wrote:
>
>>>>    +
>>>> +#ifdef CONFIG_DETECT_HUNG_TASK_BLOCKER
>>>> +static void debug_show_blocker(struct task_struct *task)
>> I think the easiest way forward is to change it to "#if
>> defined(CONFIG_DETECT_HUNG_TASK_BLOCKER) && !defined(CONFIG_PREEMPT_RT)"
>> to skip this feature for PREEMPT_RT right now . Otherwise, you will have
>> to deal with the rtmutex code.
> If this isn't supported by PREEMPT_RT (yet), then just make the
> DETECT_HUNG_TASK_BLOCKER in the Kconfig be:
>
> 	Depends on !PREEMPT_RT
>
> Don't put that dependency in the code.

Yes, that will work too.

Cheers,
Longman


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ