Messages in this thread | | | Date | Wed, 15 Oct 2003 10:34:31 -0700 | From | Andrew Morton <> | Subject | Re: mem=16MB laptop testing |
| |
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...
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |