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

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -