Re: When returning from schedule_tail() ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux