diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2022-07-14 11:42:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-14 13:13:40 +0200 |
commit | e93d19bbb10da0337c77ef7a578d89c56e5e2fdd (patch) | |
tree | 9b2b67b2cc760fe82cdef10e0abf34ebb5db5746 /Userland/Libraries | |
parent | 004bb59be50e07c022e11468117a826b7ecbbbbf (diff) | |
download | serenity-e93d19bbb10da0337c77ef7a578d89c56e5e2fdd.zip |
Kernel: Don't lock the scheduler in ProcFSOverallProcesses::try_generate
This used to be needed to protect accesses to Process::all_instances.
That list now has a more granular lock, so we don't need to take the
scheduler lock.
This fixes a crash when we try to access a locked Thread::m_fds in the
loop, which calls Thread::block, which then asserts that the scheduler
lock must not be locked by the current process.
Fixes #13617
Diffstat (limited to 'Userland/Libraries')
0 files changed, 0 insertions, 0 deletions