[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zul6l-S_JulEnDQw@mtj.duckdns.org>
Date: Tue, 17 Sep 2024 14:48:23 +0200
From: Tejun Heo <tj@...nel.org>
To: Aboorva Devarajan <aboorvad@...ux.ibm.com>
Cc: void@...ifault.com, linux-kernel@...r.kernel.org
Subject: Re: [sched_ext/for-6.11]: Issue with BPF Scheduler during CPU Hotplug
Hello, Aboorva.
On Mon, Aug 26, 2024 at 08:32:03AM -1000, Tejun Heo wrote:
> On Fri, Aug 23, 2024 at 02:50:01PM +0530, Aboorva Devarajan wrote:
> ...
> > I applied this patch to the almost latest sched-ext (for-6.12) branch upto
> > commit 89909296a51e792 ("sched_ext: Don't use double locking to migrate
> > tasks across CPUs") and let the test run for over 20 hours, and it completed
> > without any hangs on both x86 and PowerPC.
> >
> > So, indeed, making sure that both scx_fork_rwsem and cpu_hotplug_lock (read)
> > are only held together simulataneously when they can both be acquired seems
> > to be resolving the deadlock.
>
> Thanks a lot for confirming. Let me think it over a bit re. what should be
> applied.
Sorry about the delay. It ended up a bit invasive and took longer. Can you
please verify the following branch fixes the problem?
https://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git scx-enable-locking-fix
Thanks.
--
tejun
Powered by blists - more mailing lists