From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Mon, 31 Mar 2008 16:15:47 +0400
> Such an accounting would cost us two more dereferences to get the > percpu variable from the struct net, so I make sock_prot_inuse_get > and _add calls work differently depending on CONFIG_NET_NS - without > it old optimized routines are used. > > The per-cpu counter for init_net is prepared in core_initcall, so > that even af_inet, that starts as fs_initcall, will already have the > init_net prepared. > > Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> Applied. _______________________________________________ Devel mailing list [email protected] https://openvz.org/mailman/listinfo/devel
