diff options
| author | NeilBrown <[email protected]> | 2018-02-13 08:22:36 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-02-16 15:19:10 +0100 |
| commit | db1d6cbc2a2c7f9fa3ae71b999a73e827d0f43ae (patch) | |
| tree | b4aadab59b15d25456dce5cc80f2f2f99ca01471 /tools/perf/scripts/python | |
| parent | 7f76eb1a6bb7587cbfee410df914bc83f717a362 (diff) | |
staging: lustre: replace simple cases of l_wait_event() with wait_event().
When the lwi arg is full of zeros, l_wait_event() behaves almost
identically to the standard wait_event_idle() interface, so use that
instead.
l_wait_event() uses TASK_INTERRUPTIBLE, but blocks all signals.
wait_event_idle() uses the new TASK_IDLE and so avoids adding
to the load average without needing to block signals.
In one case, wait_event_idle_exclusive() is needed.
Also remove all l_wait_condition*() macros which were short-cuts
for setting lwi to {0}.
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