[Devel] Re: [PATCH 1/2 2.6.25] netns: struct net content re-work (v3)
David Miller
davem at davemloft.net
Tue Dec 11 04:19:26 PST 2007
From: "Denis V. Lunev" <den at openvz.org>
Date: Tue, 11 Dec 2007 14:55:07 +0300
> Recently David Miller and Herbert Xu pointed out that struct net becomes
> overbloated and un-maintainable. There are two solutions:
> - provide a pointer to a network subsystem definition from struct net.
> This costs an additional dereferrence
> - place sub-system definition into the structure itself. This will speedup
> run-time access at the cost of recompilation time
>
> The second approach looks better for us. Other sub-systems will follow.
>
> Signed-off-by: Denis V. Lunev <den at openvz.org>
> Acked-by: Daniel Lezcano <dlezcano at fr.ibm.com>
Applied.
More information about the Devel
mailing list