Uhm, no. You can still have it change underneath you as long as you
have any thread of execution with access to the same memory.
This is *hard* to get right, and we screw this up in the kernel with
painful regularity. The throught of having user-space processes, which
don't have access to the kernel locking primitives and functions like
copy_from_user() dealing with this stuff scares me crazy.
That is why I'm suggesting using an in-kernel linearizer.
-hpa
--