Re: Disabling file system caching

From: Rik van Riel (
Date: Sun Jan 19 2003 - 20:05:00 EST

On Sun, 19 Jan 2003, Jean-Eric Cuendet wrote:

> Is it possible to disable file caching for a given partition or mount?

No, if you do that mmap(), read(), write() etc. would be impossible.

> Or at least to limit it at a certain quantity of memory?

Not yet. I'm thinking of implementing something like this
for the next version of -rmap (reclaim only from the cache
if the cache occupies more than a certain fraction of ram).

> I think of a BIG compilation (several GB of files) and would tell gcc to
> not cache the compiled files.

But what about the .h files ? You will want to cache those.



Bravely reimplemented by the knights who say "NIH".
Current spamtrap:  <a href=mailto:""></a>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:22 EST