Re: [PATCH] net: remove padding from struct socket on 64bit &increase objects/cache

From: David Miller
Date: Tue Jul 08 2008 - 06:03:48 EST


From: Richard Kennedy <richard@xxxxxxxxxxxxxxx>
Date: Mon, 07 Jul 2008 12:58:10 +0100

> remove padding from struct socket reducing its size by 8 bytes.
>
> This allows more objects/cache in sock_inode_cache
> 12 objects/cache when cacheline size is 128 (generic x86_64)
>
> Signed-off-by: Richard Kennedy <richard@xxxxxxxxxxxxxxx>

Applied to net-next-2.6, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/