[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mlock doesn't work

From: Roland McGrath
Subject: Re: mlock doesn't work
Date: Sun, 31 Mar 2002 18:21:30 -0500 (EST)

> mlock in gnupg gives me (os/kern) failure.
> What info do you need?

This might be a known kernel problem, I'm just a bit sketchy on the details.
That is, the Hurd code that does wiring (libshouldbeinlibc/wire.c) makes
the pages writable and pokes them before doing vm_wire.  

It seems like a breach of the supposed kernel interface of vm_wire that you
should have to do this (vm_wire should just force all the copies it needs
to), but that is the way the kernel is.  At least I think so, but I am not
entirely sure I am right about the situation in the kernel.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]