Subject: Re: Performance tweak for m68k signal delivery
To: David Laight <david@l8s.co.uk>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-m68k
Date: 07/04/2002 08:51:01
On Thu, Jul 04, 2002 at 09:09:13AM +0100, David Laight wrote:

 > Have you a scheme to avoid executing the stack [1] on return
 > from a signal handler?

Yes.  I've discussed this on tech-kern already, and have the necessary
code written for all architectures but HPPA.

 > Why not make the signal handler return to an illegal PC?
 > This would fault into the kernel which could act appropriately...
 > (probably checking the user SP to be the expected one.)

That is totally unnecessary, and error-prone.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>