From: Johannes Weiner <han...@cmpxchg.org> Date: Thu, 12 Nov 2015 18:41:25 -0500
> The number of allocated sockets is used for calculations in the soft > limit phase, where packets are accepted but the socket is under memory > pressure. Since there is no soft limit phase in tcp_memcontrol, and > memory pressure is only entered when packets are already dropped, this > is actually dead code. Remove it. > > As this is the last user of parent_cg_proto(), remove that too. > > Signed-off-by: Johannes Weiner <han...@cmpxchg.org> Acked-by: David S. Miller <da...@davemloft.net> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html