Messages in this thread | | | Date | Thu, 7 Feb 2019 22:28:19 +0100 | From | Hugo Lefeuvre <> | Subject | [PATCH v2 0/2] sched/wait, staging/android: simplification of freeze related code |
| |
This patchset introduces a new wait_event_freezable_hrtimeout method to the wait api.
wait_event_freezable_hrtimeout is then used to greatly simplify handle_vsoc_cond_wait in the android vsoc driver, reducing the size of the vsoc driver.
Changes since v1 [1]:
- Delete "[1/3] sched/wait: use freezable_schedule when possible", it was submitted separately. - Patch 3/3 (now 2/2): Fix removal of a necessary linux/freezer.h include and improve commit message.
[1] v1: https://lkml.org/lkml/2019/2/1/19
Hugo Lefeuvre (2): sched/wait: introduce wait_event_freezable_hrtimeout staging/android: simplify handle_vsoc_cond_wait
drivers/staging/android/vsoc.c | 68 +++++----------------------------- include/linux/wait.h | 25 +++++++++++-- 2 files changed, 31 insertions(+), 62 deletions(-)
-- 2.20.1
| |