lkml.org 
[lkml]   [1999]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] minimum buffer hash size set to 128k (even on 4mbyte machines)
Date
From
> have only 4mbyte of memory. So 2.2.13 (and 2.2.14pre2) using a order of 5
> is wasting lots of precious memory in low mem boxes.

[2.2.13ac not 2.2.13]

> --- 2.2.14pre2/fs/buffer.c Fri Oct 29 16:40:41 1999
> +++ /tmp/buffer.c Fri Oct 29 18:20:12 1999
> @@ -1512,7 +1512,7 @@
> fsync times (ext2) manageable, is the following */
>
> memory_size >>= 20;
> - for (order = 5; (1UL << order) < memory_size; order++);
> + for (order = 0; (1UL << order) < memory_size; order++);
>
> /* try to allocate something until we get it or we're asking
> for something that is really too small */

Ok


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.024 / U:1.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site