From: Eric Dumazet <[EMAIL PROTECTED]>
Date: Wed, 9 Aug 2006 10:53:18 +0200

> If MAX_ORDER = 11, we have a max hash table of 8 MB : 2097152 slots
> But even 2097152 dst need 139810 pages (560 MB of low mem), so 16 times 
> needs... too much ram.
> 
> Probably a test like this is necessary :
> 
> if (ip_rt_max_size > (nr_kernel_pages/8))
>     ip_rt_max_size = (nr_kernel_pages/8);

Perhaps the 8MB limit in my patches is not so arbitrary :-)

But it should be based upon nr_kernel_pages for sure, and
we'd need to kill the __meminidata tag on that thing if
we started to use it like this.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to