On 10/14, Oleg Nesterov wrote:
>
> Again, this is fine. But why "else" ? It seems that
>
> if (thread_flags & _TIF_SIGPENDING) {
> do_signal(regs, r0, r19);
> r0 = 0;
> }
>
> if (thread_flags & _TIF_NOTIFY_RESUME) {
> clear_thread_flag(TIF_NOTIFY_RESUME);
> tracehook_notify_resume(regs);
> }
>
> makes a bit more sense?
Except I meant "if (_TIF_NOTIFY_RESUME)" first.
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/