summaryrefslogtreecommitdiff
path: root/tools/scripts
diff options
context:
space:
mode:
authorSoheil Hassas Yeganeh <soheil@google.com>2020-12-19 01:01:51 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-12-19 22:18:37 +0300
commitcccd29bf0823bdfeb087b7661b06856b1b73bced (patch)
treea2f7132ce19a1e05899f4698fbfc59ca05538b11 /tools/scripts
parent2efdaf7660c408d57721cc6dacb0167f866cb451 (diff)
downloadlinux-cccd29bf0823bdfeb087b7661b06856b1b73bced.tar.xz
epoll: pull fatal signal checks into ep_send_events()
To simplify the code, pull in checking the fatal signals into ep_send_events(). ep_send_events() is called only from ep_poll(). Note that, previously, we were always checking fatal events, but it is checked only if eavail is true. This should be fine because the goal of that check is to quickly return from epoll_wait() when there is a pending fatal signal. Link: https://lkml.kernel.org/r/20201106231635.3528496-4-soheil.kdev@gmail.com Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com> Suggested-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Khazhismel Kumykov <khazhy@google.com> Cc: Guantao Liu <guantaol@google.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions