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 
MADV_DONTNEED|MADV_FREE?

Thanks!

        -mi
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to