[Linux-ia64] sigaltstack and RBS

From: Matt Chapman <matthewc_at_cse.unsw.edu.au>
Date: 2003-02-09 16:19:20
I'm having some difficulty "demand paging" register backing store from
userspace (i.e. using SIGSEGV to map pages in on demand).

The problem is that even when using sigaltstack, the original backing
store (which caused the fault) is still touched when returning to the
signal trampoline, before it switches to the alternate RBS.  Thus I
get recursive faulting before it gets to the signal handler.

Ideally, signal handling on an alternate RBS/stack wouldn't touch the
original RBS/stack at all.

Any suggestions how to deal with this?

Matt
Received on Sat Feb 08 21:19:27 2003

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