select: simplify the usage of restore_saved_sigmask_unless()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | select: change do_poll() to return -ERESTARTNOHAND rather than -EINTRfs/ | +7 | 1 reply | |
| 2/2 | select: shift restore_saved_sigmask_unless() into poll_select_copy_remaining()fs/ | +13 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Oleg Nesterov |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] select: simplify the usage of restore_saved_sigmask_unless()
Lets start from fs/select.c
I have no idead how to test these changes, please review.
On top of "[PATCH -mm V2 1/1] signal: simplify set_user_sigmask/restore_user_sigmask"
it seems that we can do more unrelated cleanups in this code, say, poll_select_prepare(enum poll_time_type pt_type).
Oleg.
fs/select.c | 68 +++++++++++++++---------------------------------------------- 1 file changed, 16 insertions(+), 52 deletions(-)