does madvise() have effect on mmap-ed regions?

Mikhail Teterin mi+mx at
Sat Nov 19 00:37:56 GMT 2005

Would something like `fgrep --mmap' benefit from madvise-ing the kernel, that 
the mmap-ed region (the input file) will be used sequentionally 
(MADV_SEQUENTIONAL) and covering the already searched parts with 



More information about the freebsd-questions mailing list