Re: la la la la ... swappiness

From: Jeffrey Hundstad
Date: Mon Dec 04 2006 - 13:40:37 EST


Hello,

Please forgive me if this is naive. It seems that you could recompile your tar and patch commands to use the POSIX_FADVISE(2) feature with the POSIX_FADV_NOREUSE flags. It seems these would cause the tar and patch commands to not clutter the page cache at all.

It'd be nice to be able to make a wrapper out of this kind of like the fakeroot(1) command like such as:

nocachesuck tar xvfz kernel.tar.gz

ya know what I mean?

--
Jeffrey Hundstad
-
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/