diff options
| author | Roland McGrath <[email protected]> | 2008-07-26 02:45:58 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-26 19:00:09 +0000 |
| commit | 85ba2d862e521375a8ee01526c5c46b1f24bb4af (patch) | |
| tree | f098555cb580b2864f145aa845b574f07d2cf694 /lib/syscall.c | |
| parent | tracehook: CONFIG_HAVE_ARCH_TRACEHOOK (diff) | |
| download | kernel-85ba2d862e521375a8ee01526c5c46b1f24bb4af.tar.gz kernel-85ba2d862e521375a8ee01526c5c46b1f24bb4af.zip | |
tracehook: wait_task_inactive
This extends wait_task_inactive() with a new argument so it can be used in
a "soft" mode where it will check for the task changing state unexpectedly
and back off. There is no change to existing callers. This lays the
groundwork to allow robust, noninvasive tracing that can try to sample a
blocked thread but back off safely if it wakes up.
Signed-off-by: Roland McGrath <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions
