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