Re: ~500 megs cached yet 2.6.5 goes into swap hell
From: Jeff Garzik
Date: Fri Apr 30 2004 - 03:11:22 EST
Andrew Morton wrote:
Jeff Garzik <jgarzik@xxxxxxxxx> wrote:
Does our fadvise support len==0 ("I mean the whole file")? That's
defined in POSIX, and would allow a compliant app to simply
POSIX_FADV_DONTNEED once at the beginning.
Well I'll be darned.
FWIW the specific language is "If len is zero, all data following offset
is specified."
(for others, you probably already have this somewhere)
http://www.opengroup.org/onlinepubs/007904975/functions/posix_fadvise.html
top level SuSv3:
http://www.opengroup.org/onlinepubs/007904975/toc.htm
Jeff
-
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/