[Bug 262587] panic: lock (sleep mutex) umtxql not locked @ /usr/src/sys/sys/umtxvar.h:262 on 14-current master-n253798-8cdecdecb43

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Mar 2022 23:56:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262587

--- Comment #19 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=fd6ca665d206b74970e7c01d06ae06fed71500fc

commit fd6ca665d206b74970e7c01d06ae06fed71500fc
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2022-03-21 23:43:39 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-03-21 23:55:55 +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
    MFC after:      2 weeks

 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.