Subject: Re: Killing stackgap
To: Jason Thorpe <thorpej@shagadelic.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 03/10/2007 22:18:23
On Sat, Mar 10, 2007 at 02:14:41PM -0800, Jason Thorpe wrote:
> 
> On Mar 10, 2007, at 2:11 PM, David Laight wrote:
> 
> >I've made a start on killing the 'stackgap' which is a rather nasty
> >hack used to do compat system calls.
> 
> Um, doesn't the gap get allocated on that LWPs own stack?

The calls are all:
    sg = stackgap_init(p, 0);
    usun = stackgap_alloc(p, &sg, sizeof(*usun));
so are definitely all per process.

	David

-- 
David Laight: david@l8s.co.uk