| To: | Daniel Jacobowitz <dan@debian.org> |
|---|---|
| Subject: | Re: Question about signal syscalls ! |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Mon, 5 Feb 2007 01:10:48 +0000 |
| Cc: | David Daney <ddaney@avtrex.com>, Franck Bui-Huu <vagabon.xyz@gmail.com>, linux-mips <linux-mips@linux-mips.org> |
| In-reply-to: | <20070205005516.GA1581@nevyn.them.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20070201135734.GB12728@linux-mips.org> <cda58cb80702010654w74527a34k4ed229b499b8f9b2@mail.gmail.com> <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> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.2.2i |
On Sun, Feb 04, 2007 at 07:55:16PM -0500, Daniel Jacobowitz wrote: > On Fri, Feb 02, 2007 at 12:41:07PM -0800, David Daney wrote: > > I thought you were suggesting not saving s0-s7. If you don't save them, > > you cannot restore them. And they have to be restored from the > > sigcontext in the user's address space. This allows user space signal > > handlers to emulate trapping instructions, and the like. > > Not necessarily, because you can trust the signal handler to restore > them, and it can save them itself if it needs to. As I said, I think > there's at least one architecture which does it this way. I'm afraid I > don't know which one. 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 also free space in the signal frame which is needed for CPU architecture extensions that have more state to save. I had to burn almost the entire available space for the DSP extensions, so I wonder if we could get GDB to work? The alternative is probably a new version of the sigrestore. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Question about signal syscalls !, Daniel Jacobowitz |
|---|---|
| Next by Date: | Re: Question about signal syscalls !, Daniel Jacobowitz |
| Previous by Thread: | Re: Question about signal syscalls !, Daniel Jacobowitz |
| Next by Thread: | Re: Question about signal syscalls !, Daniel Jacobowitz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |