Messages in this thread | | | Date | Thu, 26 Jul 2018 18:24:00 +0200 | From | Oleg Nesterov <> | Subject | Re: [PATCH 18/20] signal: Add calculate_sigpending() |
| |
On 07/26, Eric W. Biederman wrote: > > > Easy to fix, but perhaps we can simply add recalc_sigpending() into > > schedule_tail() ? It already does more than just finish_task_switch/etc. > > > > This way we do not need the new helper (which btw can only be used by > > copy_process). > > The problem I have with reusing recalc_sigpending is that it does not > set TIF_SIGPENDING if (freezing || klp_patch_pending).
Ah, indeed, you are right.
Oleg.
| |