Re: mmap() page swapping location?

From: Chris Quinn (
Date: Tue Aug 01 2000 - 12:38:07 EST

"Juan J. Quintela" wrote:
> >>>>> "chris" == Chris Quinn <> writes:
> chris> Hello folks,
Hi Juan,

I don't think MAP_PRIVATE quite fits the bill because pages become divorced from the file; msync() and munmap() seem no longer to reflect changes back to disk. I want to keep that association as it is efficient.

Thanks for the MAP_NORESERVE ... didn't know about that vital flag.


> s/MAP_SWAP/MAP_PRIVATE/ does just that ....
> you need to have in account if you allow several processes reading the
> database, blah, blah, blah .... Oh, and if you have a really _BIG
> DATABASE_ you could want to play with MAP_NORESERVE (linux and some
> others UNIX specific, not standard).
> Later, Juan.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:06 EST