Re: mem=16MB laptop testing

From: Andrew Morton
Date: Wed Oct 15 2003 - 12:31:59 EST


Martin Waitz <tali@xxxxxxxxxxxxxx> wrote:
>
> On Tue, Oct 14, 2003 at 04:40:04PM -0700, Andrew Morton wrote:
> > + * min_free_kbytes = lowmem_kbytes / sqrt(lowmem_kbytes)
>
> you do have a strange sqrt here ;)

You're the fifth person to tell me that. Is this linux-kernel or linux-math?

Turns out that the int_sqrt() I stole from oom-kill.c appears to get wrong
numbers anyway. I'll probably steal fb_sqrt(), which appears to get
correct numbers and consolidate it all...

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