Re: Some highmem pages still in use after shrink_all_memory()?

From: Arjan van de Ven
Date: Mon Mar 08 2004 - 04:42:40 EST


> Note that there are some applications for which it is a *bug* if an
> mlocked page gets written out to magnetic media. (gpg, for example.)

mlock() does not guarantee things not hitting magnetic media, just as
mlock() doesn't guarantee that the physical address of a page doesn't
change. mlock guarantees that you won't get hard pagefaults and that you
have guaranteed memory for the task at hand (eg for realtime apps and
oom-critical stuff)

Attachment: signature.asc
Description: This is a digitally signed message part