看板 DFBSD_kernel 關於我們 聯絡資訊
On Tue, 22 Feb 2005 19:08:17 -0500 Dan Melomedman <dan@a.mx.devonit.com> wrote: > Finally, is mlock portable? It appears to be part of IEEE 1003.1 (REALTIME), aka POSIX, which says: "The mlock() function shall cause those whole pages containing any part of the address space of the process starting at address addr and continuing for len bytes to be memory-resident until unlocked or until the process exits or execs another process image. [...] Memory residency of unlocked pages is unspecified." -Chris