diff options
author | Andreas Kling <kling@serenityos.org> | 2022-08-19 14:39:15 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-19 14:39:15 +0200 |
commit | 766bf5c89ec356699dff88f7d9ddd74e62d208b4 (patch) | |
tree | def17992eff3c9687b153bad9a677fedf21e0c38 /.prettierignore | |
parent | a1a1462a223f05a677087c84d8dffcda56a27eb3 (diff) | |
download | serenity-766bf5c89ec356699dff88f7d9ddd74e62d208b4.zip |
Kernel: Don't take thread lock for signal dispatch
Signal dispatch is already protected by the global scheduler lock, but
in some cases we also took Thread::m_lock for some reason. This led to
a number of different deadlocks that started showing up with 4+ CPU's
attached to the system.
As a first step towards solving this, simply don't take the thread lock
and let the scheduler lock cover it.
Eventually, we should work in the other direction and break the
scheduler lock into much finer-grained locks, but let's get out of the
deadlock swamp first.
Diffstat (limited to '.prettierignore')
0 files changed, 0 insertions, 0 deletions