Messages in this thread | | | Date | Tue, 01 Aug 2000 18:38:07 +0100 | From | Chris Quinn <> | Subject | Re: mmap() page swapping location? |
| |
"Juan J. Quintela" wrote: > > >>>>> "chris" == Chris Quinn <cq@htec.demon.co.uk> 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.
regards, Chris
> 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 majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |