内核:考虑删除监狱
<strong>Additional context:</strong> (tldr: I noticed some questionable locking patterns in `VFSRootContext`, a jails-related class) While attempting to port the xHCI driver to the new WaitQueue introduced in #26160, I noticed quite a lot of questionable locking patterns related to `VFSRootContext`. My current progress for that is here: <https://GitHub.com/spholz/serenity/tree/xhci-locking-stuff>. The new `WaitQueue` doesn't support blocking while in a critical section (rightfully so, since this can easily lead to deadlocks). Currently this leads to a confusing panic message in `Thread::set_state()`, so I added a better panic message in <https://GitHub.com/spholz/serenity/commit/9f93141a5b1a4e7cf81af3cb0bd4f24b74671d90>. However, the filesystem code currently holds spinlocks during disk transfers, which causes us to hit this panic, as submitting USB drive read/write requests causes us to block on a `WaitQueue` in the xHCI code: <details><summary>xHCI panic</summary>
内容来源: SerenityOS/serenity