diff options
author | Johannes Weiner <[email protected]> | 2016-01-14 15:21:08 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-01-14 16:00:49 -0800 |
commit | af95d7df4059cfeab7e7c244f3564214aada7dad (patch) | |
tree | 137a733624782b600d61c0f2d995182f0c8d7dfa /scripts/gdb/linux/symbols.py | |
parent | 3d596f7b907b0281b997cf30c92994a71ad0a1a9 (diff) |
net: tcp_memcontrol: remove dead per-memcg count of allocated sockets
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 <[email protected]>
Acked-by: David S. Miller <[email protected]>
Reviewed-by: Vladimir Davydov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions