linux - Can mmap and O_DIRECT be used together? -


as understand it, when mmap file mapping pages page cache file directly process, , when use o_direct bypassing page cache. ever make sense use 2 together? if understanding right how work? mmap seems rely on file being in page cache , o_direct seems prevent going there (assuming nothing else on system has file open). found this question answerer seems think it's normal do.


Comments

Popular posts from this blog

Python Pandas join aggregated tables -

java - Static nested class instance -

process - Python What is the difference between a Pool of worker processes and just running multiple Processes? -