mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-07 20:09:05 +00:00
![Ingo Molnar](/assets/img/avatar_default.png)
semundo->lock can leak if semundo->refcount goes from 2 to 1 while another thread has it locked. This causes major problems for PREEMPT kernels. The simplest fix for now is to undo the single-thread optimization. This bug was found via relentless testing by Dominik Karall. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@osdl.org>