aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2018-02-13 08:22:36 +1100
committerGreg Kroah-Hartman <[email protected]>2018-02-16 15:19:09 +0100
commit0957a2c1d97586893d5ba7ce864b1d7e0b82b162 (patch)
tree63ef39fa23accf3f81714bb162bb8cf5894c43e9 /tools/perf/scripts/python
parent8016ab9ebbda3dee637ac66b9e0f7a74ef6fe9e6 (diff)
sched/wait: add wait_event_idle() functions.
The new TASK_IDLE state (TASK_UNINTERRUPTIBLE | __TASK_NOLOAD) is not much used. One way to make it easier to use is to add wait_event*() family functions that make use of it. This patch adds: wait_event_idle() wait_event_idle_timeout() wait_event_idle_exclusive() wait_event_idle_exclusive_timeout() This set was chosen because lustre needs them before it can discard its own l_wait_event() macro. Acked-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: James Simmons <[email protected]> Signed-off-by: NeilBrown <[email protected]> Reviewed-by: Patrick Farrell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions