Re: [patch] fix the max path calculation in radix-tree.c

2007-08-29 Thread Nick Piggin
On Wed, Aug 29, 2007 at 05:39:18PM -0400, Jeff Moyer wrote: > Nick Piggin <[EMAIL PROTECTED]> writes: > > > On Tue, Aug 21, 2007 at 03:48:42PM -0400, Jeff Moyer wrote: > >> Hi, > >> > >> A while back, Nick Piggin introduced a patch to reduce the node memory > >> usage for small files (commit cfd9

Re: [patch] fix the max path calculation in radix-tree.c

2007-08-29 Thread Jeff Moyer
Nick Piggin <[EMAIL PROTECTED]> writes: > On Tue, Aug 21, 2007 at 03:48:42PM -0400, Jeff Moyer wrote: >> Hi, >> >> A while back, Nick Piggin introduced a patch to reduce the node memory >> usage for small files (commit cfd9b7df4abd3257c9e381b0e445817b26a51c0c): >> >> -#define RADIX_TREE_MAP_SHIF

Re: [patch] fix the max path calculation in radix-tree.c

2007-08-22 Thread Jeff Moyer
Nick Piggin <[EMAIL PROTECTED]> writes: > On Tue, Aug 21, 2007 at 03:48:42PM -0400, Jeff Moyer wrote: >> Hi, >> >> A while back, Nick Piggin introduced a patch to reduce the node memory >> usage for small files (commit cfd9b7df4abd3257c9e381b0e445817b26a51c0c): >> >> -#define RADIX_TREE_MAP_SHIF

Re: [patch] fix the max path calculation in radix-tree.c

2007-08-21 Thread Nick Piggin
On Tue, Aug 21, 2007 at 03:48:42PM -0400, Jeff Moyer wrote: > Hi, > > A while back, Nick Piggin introduced a patch to reduce the node memory > usage for small files (commit cfd9b7df4abd3257c9e381b0e445817b26a51c0c): > > -#define RADIX_TREE_MAP_SHIFT 6 > +#define RADIX_TREE_MAP_SHIFT (CONFIG_BASE_

[patch] fix the max path calculation in radix-tree.c

2007-08-21 Thread Jeff Moyer
Hi, A while back, Nick Piggin introduced a patch to reduce the node memory usage for small files (commit cfd9b7df4abd3257c9e381b0e445817b26a51c0c): -#define RADIX_TREE_MAP_SHIFT 6 +#define RADIX_TREE_MAP_SHIFT (CONFIG_BASE_SMALL ? 4 : 6) Unfortunately, he didn't take into account the fact th