Subject: Re: Pulling simple syscalls out from the giant lock
To: None <tls@rek.tjls.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 06/07/2005 14:29:21
On Jun 7, 2005, at 10:41 AM, Thor Lancelot Simon wrote:

> The vnode locks needed for getcwd() certainly _ought_ to be MP-safe,
> no?  What's the point of having them there if they aren't?

I don't believe for a moment that the VFS locking "protocol" is  
actually MP-safe.

> The other one that comes immediately to mind, though, is  
> gettimeofday().
> Oh, and getppid() and getrlimit(), maybe.

All of those require synchronizing access to data structures that can  
change.

-- thorpej