Re: why swap at all?
From: jlnance
Date: Tue Jun 01 2004 - 11:51:18 EST
On Tue, Jun 01, 2004 at 02:57:00PM +0300, Lenar L?hmus wrote:
> jlnance@xxxxxxxxxxxxxx wrote:
>
> >I'm not sure. Copying a file is a pretty good indication that you
> >are about to do something with either the new or the old file.
> >
> Like taking the new file with me on USB dongle and deleting old one?
> Caching the file really doesn't help in this case.
No, it does not help in this case.
Not putting things in cache is a solution for the problem of
having useful stuff pushed out of the cache. However, fixing
the problem this way may create other problems if it causes
us to fail to put useful things into the cache.
The point I was trying (perhaps unsuccessfully) to make, is
that we should be careful about not caching things. We are
likely to break other corner cases by fixing the ones we
are discussing.
Thanks,
Jim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/