On Sat Mar 03, 2007 at 02:26:09PM -0800, Andrew Morton wrote:I think what Rik is pointing out is that as currently implemented, posix_fadvise is a much bigger hammer than is generally useful or desirable. Using posix_fadvise on the other hand says "immediately drop this stuff from the pagecache, consequences be damned". If someone else happens to be using the specified data, well too bad, they suffer collateral damage. Process A can, maliciously or ignorantly, deny service to process B. On the other hand, your old but super cool O_STREAMING patch took a kinder gentler approach, where applications could tell the kernel "please do not keep this file descriptor's data in cache on my account since I will not reuse it." If someone else however was using the same data, the kernel would keep things cached as usual and thereby avoid doing collateral damage. -Erik -- Erik B. Andersen http://codepoet-consulting.com/ --This message was written using 73% post-consumer electrons-- -
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Andrew Morton | -mm merge plans for 2.6.23 |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| PJ Waskiewicz | [ANNOUNCE] ixgbe: Data Center Bridging (DCB) support for ixgbe |
| David Miller | Re: [GIT]: Networking |
