Messages in this thread | | | From | "Stephen C. Tweedie" <> | Date | Thu, 24 Feb 2000 13:51:25 +0000 (GMT) | Subject | Re: mmap/munmap semantics |
| |
Hi,
On Thu, 24 Feb 2000 13:24:07 +0100 (MET), Richard Guenther <richard.guenther@student.uni-tuebingen.de> said:
> Ah, this is cool - exactly what we need. I.e. an > madvise(MADV_DONTNEED) and a subsequent munmap should not generate any > disk io?
If you do the MADV_DONTNEED before the VM system has decided to flush things out for its own reasons, then yes. At least, according to one reading of the specs. There doesn't seem to be consensus yet on precisely what this call is supposed to do --- BSD and Digital Unix man pages are contradictory on this.
--Stephen
- 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/
| |