Re: [LTP] statvfs -> f_bavail

From: Al Viro
Date: Mon Apr 20 2009 - 20:48:21 EST


On Mon, Apr 20, 2009 at 06:38:47PM -0600, Andreas Dilger wrote:
> On Apr 21, 2009 01:25 +0100, Al Viro wrote:
> > a) ramfs has no such thing as "amount of available space", simply
> > because it has no limit on total size occupied.
>
> Well, except the amount of RAM in the system, which would be a reasonable
> value to use.

You are welcome to provide an analysis of differences between the moments
when OOM hits root and non-root resp. if they keep allocating there...
--
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/