diff options
| author | Peter Zijlstra <[email protected]> | 2014-09-24 10:18:56 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-10-28 10:56:57 +0100 |
| commit | 3427445afd26bd2395f29241319283a93f362cd0 (patch) | |
| tree | 7c1b04953b3744a518bfb380d63dc5f518ce8100 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 8eb23b9f35aae413140d3fda766a98092c21e9b0 (diff) | |
sched: Exclude cond_resched() from nested sleep test
cond_resched() is a preemption point, not strictly a blocking
primitive, so exclude it from the ->state test.
In particular, preemption preserves task_struct::state.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Alex Elder <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Axel Lin <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Dave Jones <[email protected]>
Cc: Jason Baron <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions