Re: Address spaces on a i386 - Getting Confused

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 30 Mar 1999 15:26:16 +0100 (BST)


> This would work, but only if it is mlock'd (could be done by the
> kernel, just set the appropriate vm_flags during the mmap) else the
> swapper can toss it to disk at any time.

You need to bring the pages in. Also mmap() doesnt technically guarantee
pages will not move physically. It means they wont wander onto disk.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/