On Wed, Jul 15, 2020 at 7:32 PM Valdis Klētnieks <valdis.kletnieks@xxxxxx> wrote: > > On Wed, 15 Jul 2020 10:05:25 -0400, William Tambe said: > > When returning from schedule_tail(), is it still necessary to check > > for (_TIF_SIGPENDING | _TIF_NOTIFY_RESUME) before resuming task ? > > Well.. since the semantics of signals are defined as being delivered > when a process returns from the kernel, how would you avoid checking > for a pending signal and still maintain the semantics? schedule_tail() is called for a task that has just been created, hence the reason why I asked whether for such as newly created task, is it necessary to check for (_TIF_SIGPENDING | _TIF_NOTIFY_RESUME) ? _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies