> I could imagine that databases use mmap() havily

it's a little mystery for me why they would do that since it's slower (or ought 
to be),
because the trap path and fault recovery must do more work than syscall 
(perhaps much more).
it's also difficult then to optimise the replacement strategy for the 
application
without madvise calls (and you trust those implicitly?) but those are system 
calls that cost time.


Reply via email to