diff options
| author | Joel Fernandes (Google) <[email protected]> | 2019-07-24 16:48:16 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2019-07-29 15:20:19 +0000 |
| commit | 1caf7d50f46bd0388e38e653b146aa81700e8eb8 (patch) | |
| tree | f98d18c6f5c7a5233bcba6d4e9969cffa4e82f4c /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | pidfd: remove obsolete comments from test (diff) | |
| download | kernel-1caf7d50f46bd0388e38e653b146aa81700e8eb8.tar.gz kernel-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/[email protected]/
Signed-off-by: Joel Fernandes (Google) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
