Re: [PATCH] Use list_head-s in inetpeer.c

2007-11-12 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Mon, 12 Nov 2007 11:57:23 +0300 > No. I remove _two_ pointers unused_next and unused_prevp, and add > the list_head, which is _two_ pointers as well. I've even checked the > compilation on both i386 and x86_64 - the sizeof(struct inet_peer) > is not

Re: [PATCH] Use list_head-s in inetpeer.c

2007-11-12 Thread Pavel Emelyanov
David Miller wrote: > From: Pavel Emelyanov <[EMAIL PROTECTED]> > Date: Sat, 10 Nov 2007 17:32:58 +0300 > >> The inetpeer.c tracks the LRU list of inet_perr-s, but makes >> it by hands. Use the list_head-s for this. >> >> Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> > > This makes every ine

Re: [PATCH] Use list_head-s in inetpeer.c

2007-11-10 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Sat, 10 Nov 2007 17:32:58 +0300 > The inetpeer.c tracks the LRU list of inet_perr-s, but makes > it by hands. Use the list_head-s for this. > > Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> This makes every inetpeer struct consume 8 more bytes