netdev
[Top] [All Lists]

Re: [PATCH] reduce sizeof(struct inet_peer) from 128 to 64 bytes on 64bi

To: Eric Dumazet <dada1@xxxxxxxxxxxxx>
Subject: Re: [PATCH] reduce sizeof(struct inet_peer) from 128 to 64 bytes on 64bits architectures
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Wed, 16 Mar 2005 14:10:57 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <42387579.6090502@xxxxxxxxxxxxx>
References: <42370997.6010302@xxxxxxxxxxxxx> <20050315103253.590c8bfc.davem@xxxxxxxxxxxxx> <42380EC6.60100@xxxxxxxxxxxxx> <42387579.6090502@xxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 16 Mar 2005 19:05:45 +0100
Eric Dumazet <dada1@xxxxxxxxxxxxx> wrote:

> As peer_cachep uses kmem_cache_create("inet_peer_cache", ... 
> SLAB_HWCACHE_ALIGN ...),
> better try to use exactly 64 bytes instead of 72 for struct inet_peer.
> 
> This also means that this structure fits in one cache line on x86_64.

Please resend the patch, your email client turned all the tab
characters into spaces so the patch will not apply.

<Prev in Thread] Current Thread [Next in Thread>