I want something similar
Posted Feb 24, 2005 18:09 UTC (Thu) by
jsbarnes (guest, #4096)
In reply to:
I want something similar by ncm
Parent article:
Flushing the page cache from user space
fadvise and madvise could provide this feature for programs like tar &
xine. madvise(addr, len, MADV_DONTNEED) will tell the kernel that a
given virtual address range is unlikely to be accessed again anytime
soon, and I believe there's an equivalent for files as well.
(
Log in to post comments)