Subject: Re: VXLOCK race?
To: None <email@example.com>
From: John Kohl <firstname.lastname@example.org>
Date: 05/09/1996 19:10:20
The code in question always executes in the "top half" of the kernel in
process context. Since there is never more than one process executing
in the kernel at once in NetBSD (at least until SMP stuff gets worked on :)
there is no race here because neither process yields the processor (or
calls something which might do so) with the flags in an inconsistent
When SMP arrives, it'll have to put locks around manipulations such as
this and/or recast them in a more MP-friendly paradigm.