[RFC] Attempt to clean up sigsuspend et al

Paul Mackerras paulus at samba.org
Mon Nov 14 15:43:22 EST 2005


David Woodhouse writes:

> But I think other things you mention are OK -- we'd still call
> do_signal() from *sigsuspend() just as we do at the moment, with the
> same loop. It's just that do_signal() would notice that the nvgprs
> aren't saved, and would set the TIF_SAVENVPGRS_TO_SIG_FRAME bit. ..

Ah ok, I see now, that sounds all right.

> (Actually in the case of swapcontext() we don't know that the nvgprs
> should be saved in a signal frame at the top of the userspace stack; the
> context will be elsewhere. We probably do need to store a pointer in the
> thread_info, but that's OK too)

True.

Paul.



More information about the Linuxppc-dev mailing list