aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2018-02-13 10:47:59 +1100
committerGreg Kroah-Hartman <[email protected]>2018-02-16 15:19:11 +0100
commit1c6ce08297aa27bb00fbb4e9488ffdd8ade966b9 (patch)
tree17767ab93a29c3e7fe34858b9e4dfa7616095625 /tools/perf/scripts/python/export-to-sqlite.py
parentcda3520497a5853a96bbd850b3213cfb7e6d7c55 (diff)
staging: lustre: replace l_wait_event_exclusive_head() with wait_event_idle_exclusive
This l_wait_event_exclusive_head() will wait indefinitely if the timeout is zero. If it does wait with a timeout and times out, the timeout for next time is set to zero. The can be mapped to a call to either wait_event_idle_exclusive() or wait_event_idle_exclusive_timeout() depending in the timeout setting. The current code arranges for LIFO queuing of waiters, but include/event.h doesn't support that yet. Until it does, fall back on FIFO with wait_event_idle_exclusive{,_timeout}(). 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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions