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

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

scikit learn - python sklearn KDTree with haversine distance -