Subject: Re: Pulling simple syscalls out from the giant lock
To: Matt Thomas <matt@3am-software.com>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 06/07/2005 18:43:56
On Tue, Jun 07, 2005 at 10:38:20AM -0700, Matt Thomas wrote:
> >
> >Yes. The MD syscall code checks for the SYSCALL_MPSAFE flag and
> >doesn't take the big-lock if it's set. It's currently only set for
> >getpid(). Exactly what else it could be easily applied to is less
> >clear; getpid() is the only true no-brainer that requires taking no
> >locks on anything at all.
> 
> get*gid?
> get*uid?

While another thread is doing set*[gu]id ?

	David

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