Files
scst/iscsi-scst/kernel
Vladislav Bolkhovitin daa5da87af Several wait loops in the SCST source code are similar. Move the common code
into a new macro called wait_event_locked().

Signed-off-by: Bart Van Assche <bvanassche@acm.org>

+

Micro-optimize wait_event_locked(). Switch from default_wake_function() to
autoremove_wake_function() (via DEFINE_WAIT()). The result is that
wait_queue_head_t.lock is locked once instead of twice for wakeup + wait queue
removal.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3591 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-18 21:15:59 +00:00
..
2011-05-20 00:52:34 +00:00
2011-01-06 20:02:04 +00:00
2011-05-18 21:45:09 +00:00
2011-01-06 20:02:04 +00:00
2011-01-06 20:02:04 +00:00
2011-01-06 20:02:04 +00:00
2011-05-18 21:45:09 +00:00
2011-01-06 20:02:04 +00:00
2011-04-26 19:07:13 +00:00
2011-01-06 20:02:04 +00:00