[Top][All Lists]

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

Re: mlock doesn't work

From: Thomas Bushnell, BSG
Subject: Re: mlock doesn't work
Date: 12 Apr 2002 17:54:28 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Roland McGrath <roland@frob.com> writes:

> 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.  

This is because there were kernel bugs if you get a pagein on wired
memory.  That is, the kernel assumes that wired memory is *already* in
core.  The little poking routine is to do our best to make sure we
don't have that problem.

reply via email to

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