分类: LINUX
2005-03-13 09:24:41
/proc/sys/vm
Cache management with posix_fadvise()
New syscall in 2.6
– Cf. POSIX 1003.1, 2004 Edition
Lets applications provide per-file access-pattern
hints to the kernel
– See man page for more info
Features / options
– Random access
– Sequential access
– Force explicit readahead
– Explicit pagecache invalidation
• Use fsync() beforehand if the file is being written