[PATCH 2/2] SCHED: allow wait_on_bit_action functions to support a timeout.

2014-07-07 Thread NeilBrown
It is currently not possible for various wait_on_bit functions to implement a timeout. While the "action" function that is called to do the waiting could certainly use schedule_timeout(), there is no way to carry forward the remaining timeout after a false wake-up. As false-wakeups a clearly

[PATCH 2/2] SCHED: allow wait_on_bit_action functions to support a timeout.

2014-07-07 Thread NeilBrown
It is currently not possible for various wait_on_bit functions to implement a timeout. While the action function that is called to do the waiting could certainly use schedule_timeout(), there is no way to carry forward the remaining timeout after a false wake-up. As false-wakeups a clearly

[PATCH 2/2] SCHED: allow wait_on_bit_action functions to support a timeout.

2014-06-22 Thread NeilBrown
It is currently not possible for various wait_on_bit functions to implement a timeout. While the "action" function that is called to do the waiting could certainly use schedule_timeout(), there is no way to carry forward the remaining timeout after a false wake-up. As false-wakeups a clearly

[PATCH 2/2] SCHED: allow wait_on_bit_action functions to support a timeout.

2014-06-22 Thread NeilBrown
It is currently not possible for various wait_on_bit functions to implement a timeout. While the action function that is called to do the waiting could certainly use schedule_timeout(), there is no way to carry forward the remaining timeout after a false wake-up. As false-wakeups a clearly