[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 10 Nov 2007 21:31:07 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: netdev@...r.kernel.org, devel@...nvz.org
Subject: Re: [PATCH] Use list_head-s in inetpeer.c
From: Pavel Emelyanov <xemul@...nvz.org>
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 <xemul@...nvz.org>
This makes every inetpeer struct consume 8 more bytes, and on some
systems we have can have many of these objects active. That space
savings is why this was done the way it was.
It would be nice to have "tailq" like interfaces in linux/list.h
for situations like this.
Please do not submit a patch implementing that until the 2.6.25
merge window, however, thanks.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists