Re: [PATCH] sock: Remove the global prot_inuse counter.

2017-11-11 Thread David Miller
From: Tonghao Zhang Date: Thu, 9 Nov 2017 00:03:15 -0800 > The per-cpu counter for init_net is prepared in core_initcall. > The patch 7d720c3e ("percpu: add __percpu sparse annotations to net") > and d6d9ca0fe ("net: this_cpu_xxx conversions") optimize the > routines. Then remove the old counter

[PATCH] sock: Remove the global prot_inuse counter.

2017-11-09 Thread Tonghao Zhang
The per-cpu counter for init_net is prepared in core_initcall. The patch 7d720c3e ("percpu: add __percpu sparse annotations to net") and d6d9ca0fe ("net: this_cpu_xxx conversions") optimize the routines. Then remove the old counter. Cc: Pavel Emelyanov Signed-off-by: Tonghao Zhang --- net/core/