Re: [Linux-ia64] sigaltstack and RBS

From: Matt Chapman <matthewc_at_cse.unsw.edu.au>
Date: 2003-02-09 16:47:11
On Sat, Feb 08, 2003 at 09:27:54PM -0800, David Mosberger wrote:
> 
> It sounds like you're using an old kernel.

Sorry, I should have given more information.  I'm using 2.5.59-ia64-030124.

> I don't recall exactly
> when this was fixed, but recent kernels will put the dirty partition
> on the _new_ stack, not the old one.
> 
> You can check gate.S:ia64_sigtramp().  If it branches to "setup_rbs"
> _before_ the first "alloc" instruction, you should be fine.

Yes, it does.  Hmm, the faults I'm getting are at ia64_sigtramp (exactly).
The first instruction (add r2=40,r12) doesn't look like it could possibly
be the cause, so I presume it is the RFI that is forcing a frame to be
loaded (?).

Matt
Received on Sat Feb 08 21:47:25 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:12 EST