[Bug 262587] panic: lock (sleep mutex) umtxql not locked @ /usr/src/sys/sys/umtxvar.h:262 on 14-current master-n253798-8cdecdecb43
Date: Sat, 12 Nov 2022 12:42:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262587
--- Comment #21 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=62e1bb424584ca6a46e6224801d25b9fc6ca5ef9
commit 62e1bb424584ca6a46e6224801d25b9fc6ca5ef9
Author: Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2022-03-21 23:43:39 +0000
Commit: Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-11-12 11:59:27 +0000
Fix umtxq_sleep() regression caused by 56070dd2e4d.
umtxq_requeue() moves the queue to a different hash chain and different
lock, so we can't rely on msleep_sbt() reacquiring the same old lock.
We have to use PDROP and update the queue chain and so lock pointer.
PR: 262587
(cherry picked from commit fd6ca665d206b74970e7c01d06ae06fed71500fc)
sys/kern/kern_umtx.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.