-
由 Theodore Ts'o 提交于
Commit 61337054 introduced a circular lock dependency because posix_cpu_timers_exit() is called by release_task(), which is holding a writer lock on tasklist_lock, and this can cause a deadlock since kill_fasync() gets called with nonblocking_pool.lock taken. There's no reason why kill_fasync() needs to be taken while the random pool is locked, so move it out to fix this locking dependency. Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu> Reported-by: NRuss Dill <Russ.Dill@gmail.com> Cc: stable@kernel.org
b9809552