linux-mips
[Top] [All Lists]

Re: Question about signal syscalls !

To: "Ralf Baechle" <ralf@linux-mips.org>
Subject: Re: Question about signal syscalls !
From: "Franck Bui-Huu" <vagabon.xyz@gmail.com>
Date: Mon, 5 Feb 2007 10:08:43 +0100
Cc: "Daniel Jacobowitz" <dan@debian.org>, "David Daney" <ddaney@avtrex.com>, linux-mips <linux-mips@linux-mips.org>
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=n2snF/qZM4EW3WYzk0lQdxadWFJ3V15aylBEoYZ+h7NjyLDny71deSI+3PrBLIA7n25G4wSamOmrXriXK06rpgnAUaMpQ/t9PXCqq6vPRFqg5JBKDPgepxR33Dda+4NArhj7OP6BRiaxhMxQTwlf+x2PcUDqN4CSVaqVNxqpZYE=
In-reply-to: <20070205011048.GA26654@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070201135734.GB12728@linux-mips.org> <45C21CFE.9060804@avtrex.com> <cda58cb80702020055t6eb2578fn5d1e4370e9ebda08@mail.gmail.com> <45C3611D.7000702@avtrex.com> <cda58cb80702020836t54ab54bam1b83dd7c1dacb4d8@mail.gmail.com> <45C36D46.5040409@avtrex.com> <cda58cb80702021158n42bdb5fbi6cca4f2c8dff6782@mail.gmail.com> <45C3A1E3.8010802@avtrex.com> <20070205005516.GA1581@nevyn.them.org> <20070205011048.GA26654@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On 2/5/07, Ralf Baechle <ralf@linux-mips.org> 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

<Prev in Thread] Current Thread [Next in Thread>