| To: | Brian Foster <brian.foster@innova-card.com> |
|---|---|
| Subject: | Re: [PATCH, RFC] MIPS: Implement the getcontext API |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Wed, 4 Mar 2009 15:44:18 +0000 |
| Cc: | David Daney <ddaney@caviumnetworks.com>, "Maciej W. Rozycki" <macro@codesourcery.com>, linux-mips@linux-mips.org, libc-ports@sourceware.org, "Maciej W. Rozycki" <macro@linux-mips.org> |
| In-reply-to: | <200903040919.29294.brian.foster@innova-card.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <alpine.DEB.1.10.0902282326580.4064@tp.orcam.me.uk> <49AD6139.60209@caviumnetworks.com> <200903040919.29294.brian.foster@innova-card.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
On Wed, Mar 04, 2009 at 09:19:28AM +0100, Brian Foster wrote: > On Tuesday 03 March 2009 17:56:25 David Daney wrote: > >[ ... ] > > When (and if) we move the sigreturn trampoline to a vdso we should be > > able to maintain the ABI. > > it's more a matter of “when” rather than “if”. > there is still an intention here to use XI (we > have SmartMIPS), which requires not using the > signal (or FP) trampoline on the stack. > > moving the signal trampoline to a vdso (which > is(? was?) called, maybe misleadingly, ‘vsyscall’, > on other architectures) is the obvious solution to > that part of the puzzle. and yes, it is possible > to maintain the ABI; the signal trampoline is still > also put on the stack, and modulo XI, would work if > used — the trampoline-on-stack is simply not used > if there is a vdso with the signal trampoline. We generally want to get rid of stack trampolines. Trampolines require cacheflushing which especially on SMP systems can be a rather expensive operation. Ralf |
| Previous by Date: | [PATCH] TXx9: update defconfigs, Atsushi Nemoto |
|---|---|
| Next by Date: | Re: [PATCH, RFC] MIPS: Implement the getcontext API, David Daney |
| Previous by Thread: | Re: [PATCH, RFC] MIPS: Implement the getcontext API, David Daney |
| Next by Thread: | RE: [PATCH, RFC] MIPS: Implement the getcontext API, David VomLehn (dvomlehn) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |