summaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorJoel Fernandes (Google) <joel@joelfernandes.org>2019-07-24 18:48:16 +0200
committerChristian Brauner <christian@brauner.io>2019-07-29 17:20:19 +0200
commit1caf7d50f46bd0388e38e653b146aa81700e8eb8 (patch)
treef98d18c6f5c7a5233bcba6d4e9969cffa4e82f4c /kernel/workqueue.c
parentpidfd: remove obsolete comments from test (diff)
downloadlinux-1caf7d50f46bd0388e38e653b146aa81700e8eb8.tar.xz
linux-1caf7d50f46bd0388e38e653b146aa81700e8eb8.zip
pidfd: Add warning if exit_state is 0 during notification
Previously a condition got missed where the pidfd waiters are awakened before the exit_state gets set. This can result in a missed notification [1] and the polling thread waiting forever. It is fixed now, however it would be nice to avoid this kind of issue going unnoticed in the future. So just add a warning to catch it in the future. /* References */ [1]: https://lore.kernel.org/lkml/20190717172100.261204-1-joel@joelfernandes.org/ Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org> Link: https://lore.kernel.org/r/20190724164816.201099-1-joel@joelfernandes.org Signed-off-by: Christian Brauner <christian@brauner.io>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions