Skip to content

sched/wait, staging/android: simplification of freeze related code

Hugo Lefeuvre lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 1 replyIn review
  2. v2 posting 1/21 patch 1 replySuperseded
  3. v13 patches 8 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sched/wait: introduce wait_event_freezable_hrtimeoutinclude/linux/wait.h+21 -41 reply
2/2staging/android: simplify handle_vsoc_cond_waitdrivers/staging/android/vsoc.c+10 -580 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchIngo Molnar
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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(-)
Signature · 1 line
2.20.1