[vlc-devel] commit: mmap: Only use MAP_NOCACHE on platforms that support it. ( Derk-Jan Hartman )
rdenis at simphalempin.com
Fri Oct 10 14:45:40 CEST 2008
On Fri, 10 Oct 2008 14:16:31 +0200 (CEST), git at videolan.org (git version
> vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Fri Oct
> 14:15:37 2008 +0200| [8dcf947d585d89db6e6b879cc4699d7ca60bb5e4] |
> committer: Derk-Jan Hartman
> mmap: Only use MAP_NOCACHE on platforms that support it.
> That would be Darwin and some BSDs apparently
The OS _knows_ that it can throw this pages out as long as the underlying
file is in synch o the disk. Even if such a page is still mapped in fact.
I wonder why BSD even needs this flag at all...
More information about the vlc-devel