OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 1/2 2.6.25] netns: struct net content re-work (v3)
Re: [PATCH 1/2 2.6.25] netns: struct net content re-work (v3) [message #24855 is a reply to message #24851] Tue, 11 December 2007 12:19 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: "Denis V. Lunev" <den@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@openvz.org>
> Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>

Applied.
 
Read Message
Read Message
Previous Topic: [PATCH 2.6.25] UNIX: remove unused declaration of sysctl_unix_max_dgram_qlen (resend, wrong patch wa
Next Topic: [PATCH 2/2 2.6.25] netns: separate af_packet netns data
Goto Forum:
  


Current Time: Mon Jul 28 10:06:25 GMT 2025

Total time taken to generate the page: 0.31898 seconds