I want something similar
Posted Feb 24, 2005 17:00 UTC (Thu) by
ncm (subscriber, #165)
Parent article:
Flushing the page cache from user space
To me, and to most of us, a much more helpful feature would be a way to identify inodes whose pages should not be cached at all. So that it could be used by unprivileged processes, the effect might apply only for the current process: pages seen by another process from that inode would still stick in the cache, and the current process would still use those, but reads or writes (or unmappings) it initiates would wash out of the cache immediately.
We might also, or instead, have an attribute stored on the inode to identify an uncached file. Then, most programs wouldn't need to know about the feature.
Tar and xine might be good examples of programs that should know about, or at least benefit from, such a feature.
(
Log in to post comments)