Skip to content

select: simplify the usage of restore_saved_sigmask_unless()

Oleg Nesterov linux-api linux-arch linux-fsdevel linux-mm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2select: change do_poll() to return -ERESTARTNOHAND rather than -EINTRfs/select.c+7 -231 reply
2/2select: shift restore_saved_sigmask_unless() into poll_select_copy_remaining()fs/select.c+13 -330 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.

PatchOleg Nesterov
SeriesR-b
1/2
2/2

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

Read the v1 thread

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(-)