commit | 5290ada4a2e6a9dec00e849a49af8f7bf7462449 | [log] [tgz] |
---|---|---|
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | Thu Nov 09 00:03:15 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 11 19:17:33 2017 +0900 |
tree | 13d9566a1641bfb305ce9200203c1b4bef2bcb4d | |
parent | 492d070f2495d4b200124ed44a35ab3d8f74ac93 [diff] |
sock: Remove the global prot_inuse counter. 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 <xemul@openvz.org> Signed-off-by: Tonghao Zhang <zhangtonghao@didichuxing.com> Signed-off-by: David S. Miller <davem@davemloft.net>