Re: mem=16MB laptop testing

Martin Waitz
2003-10-15T13:32:42Z

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]

hi :)

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 ;)

if you do a 'x*=2' at the start of your int_sqrt, your results
are closer to a real sqrt.

then, to get similar min_free_kbytes results, you could do
min_free_kbytes = int_sqrt(2*lowmem_kbytes);

which is easier to understand, me thinks ;)

--
CU, / Friedrich-Alexander University Erlangen, Germany
Martin Waitz // Department of Computer Science 3 _________
______________/// - - - - - - - - - - - - - - - - - - - - ///
dies ist eine manuell generierte mail, sie beinhaltet //
tippfehler und ist auch ohne grossbuchstaben gueltig. /

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]