OpenVZ Forum


Home » Mailing lists » Devel » [PATCH net-2.6.25] Make macro to specify the ptype_base size
Re: [PATCH net-2.6.25] Make macro to specify the ptype_base size [message #23770 is a reply to message #23726] Mon, 26 November 2007 12:14 Go to previous message
Herbert Xu is currently offline  Herbert Xu
Messages: 45
Registered: April 2007
Member
On Fri, Nov 23, 2007 at 04:47:36PM +0300, Pavel Emelyanov wrote:
> Currently this size is 16, but as the comment says this
> is so only because all the chains (except one) has the
> length 1. I think, that some day this may change, so 
> growing this hash will be much easier.
> 
> Besides, symbolic names are read better than magic constants.
> 
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

Applied to net-2.6.25.  Thanks!
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
 
Read Message
Read Message
Previous Topic: [PATCH net-2.6.25] Name magic constants in sock_wake_async()
Next Topic: [PATCH] Fix memory leak in inet_hashtables.h when NUMA is on
Goto Forum:
  


Current Time: Mon Aug 04 05:55:19 GMT 2025

Total time taken to generate the page: 0.81475 seconds