Re: missing madvise functionality

Ulrich Drepper
2007-04-03T17:20:16Z

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]