Re: mem=16MB laptop testing

Andrew Morton
2003-10-15T17:30:59Z

Martin Waitz <tali@admingilde.org> 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...