"Juan J. Quintela" wrote:
> >>>>> "chris" == Chris Quinn <email@example.com> writes:
> chris> Hello folks,
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 firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:06 EST