diff options
author | Sasha Levin <[email protected]> | 2016-02-05 15:36:05 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-02-05 18:10:40 -0800 |
commit | 823dd3224a07f618d652a7743c9603222d019de3 (patch) | |
tree | 56e8dd97ecfe996c6337c17e8255fa4bf716bcf2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | df48ab3c2f5ffca88b7803ffbadd074bd5a0a2ef (diff) |
signals: avoid random wakeups in sigsuspend()
A random wakeup can get us out of sigsuspend() without TIF_SIGPENDING
being set.
Avoid that by making sure we were signaled, like sys_pause() does.
Signed-off-by: Sasha Levin <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions