[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z4m7Iq_eiTZmASd_@slm.duckdns.org>
Date: Thu, 16 Jan 2025 16:06:26 -1000
From: Tejun Heo <tj@...nel.org>
To: Andrea Righi <arighi@...dia.com>
Cc: David Vernet <void@...ifault.com>, Changwoo Min <changwoo@...lia.com>,
linux-kernel@...r.kernel.org, Breno Leitao <leitao@...ian.org>
Subject: Re: [PATCH] sched_ext: Fix potential deadlock in destroy_dsq()
On Thu, Jan 16, 2025 at 12:51:01PM +0100, Andrea Righi wrote:
> When creating and destroying DSQs concurrently, a potential deadlock can
> occur due to a circular locking dependency between the locks involved in
> the operations:
>
> - create_dsq():
>
> rhashtable_bucket --> rq->lock --> dsq->lock
Hmm... this is probably the same thing that Breno tried to fix with
rhashtable update. Breno, what's the current state of that patch? I saw bug
reports and fix patch flying by but didn't track them closely.
Thanks.
--
tejun
Powered by blists - more mailing lists