On 2/5/07, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:
Not saving the s-registers into the signal frame would be a neat optimization. It wouldn't only make things a little faster it would
Actually it seems to me that setup_sigcontext() is almost completly useless if the signal handler is dealt when returning from a system call since just a very few registers are saved in the 'struct pt_regs' structure. So setup_sigcontext() ends up saving a lot of random values. -- Franck