Re: missing madvise functionality

From: Ulrich Drepper
Date: Tue Apr 03 2007 - 13:20:48 EST


Andi Kleen wrote:
> Why do you need a lock for that? I don't see any problem with
> two threads doing that in parallel. The kernel would
> serialize it internally and one would fail, but that shouldn't
> be a problem.

There is no lock at all at userlevel. I'm talking about locks in the
kernel.

--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â

Attachment: signature.asc
Description: OpenPGP digital signature