Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2024 14:25:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 279738] Hyper-V: Kernel panic: acquiring blockable sleep lock with spinlock or critical section held
Message-ID:  <bug-279738-27103-BZKmq8xUkQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-279738-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-279738-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279738

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dd0cb4674df97aa638d5d17861c364b162=
5f79401

commit d0cb4674df97aa638d5d17861c364b1625f79401
Author:     Wei Hu <whu@FreeBSD.org>
AuthorDate: 2024-06-15 14:07:58 +0000
Commit:     Wei Hu <whu@FreeBSD.org>
CommitDate: 2024-06-15 14:07:58 +0000

    Hyper-V: move memory alloc call for tlb hypercall out of smp_rendezvous

    The allocation call could result in sleep lock violation if it is in
    smp_rendezvous. Move it out. Also move the pcpu memory pointer to
    vmbus_pcpu_data since it is only used on Hyper-V.

    PR:             279738
    Reported by:    gbe
    Fixes:          2b887687edc25bb4553f0d8a1183f454a85d413d
    MFC after:      2 weeks
    Sponsored by:   Microsoft

 sys/dev/hyperv/vmbus/hyperv_mmu.c |  6 +--
 sys/dev/hyperv/vmbus/vmbus.c      | 88 +++++++++++++++++++++++++++++------=
----
 sys/dev/hyperv/vmbus/vmbus_var.h  |  5 ++-
 3 files changed, 71 insertions(+), 28 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279738-27103-BZKmq8xUkQ>