Date: Wed, 07 Sep 2022 00:19:01 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 250309] devmatch: panic: general protection fault: sysctl_devices() -> sysctl_root_handler_locked() in hw.bus.devices sysctl handler when plugging in USB mouse Message-ID: <bug-250309-227-utOLK0xMNA@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-250309-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250309 --- Comment #2 from Warner Losh <imp@FreeBSD.org> --- I'll take a look at this. I think this is due to the nature of Giant unlocking itself when we think it is protecting the bus stuff. I have a different patch than sigsys' patch that converts Giant into a real lock, which sigsys' patch doesn't quite do. I worry that it will cause a lot of other problems if we don't do that and/or expose deadlock situations in other drivers / busses. All the places that use the lock *should* have giant locked already. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250309-227-utOLK0xMNA>
