Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1269046

Re: [PATCH 06/14] net: tcp_memcontrol: remove dead per-memcg count of allocated sockets

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 06/14] net: tcp_memcontrol: remove dead per-memcg count of allocated sockets
Date 2015-11-13 17:10 +0100
Message-ID <qup5f-by-17@gated-at.bofh.it> (permalink)
References <qu9MR-79j-5@gated-at.bofh.it> <qu9MR-79j-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Johannes Weiner <hannes@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 <hannes@cmpxchg.org>

Acked-by: David S. Miller <davem@davemloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 06/14] net: tcp_memcontrol: remove dead per-memcg count of allocated sockets Johannes Weiner <hannes@cmpxchg.org> - 2015-11-13 00:50 +0100
  Re: [PATCH 06/14] net: tcp_memcontrol: remove dead per-memcg count  of allocated sockets David Miller <davem@davemloft.net> - 2015-11-13 17:10 +0100

csiph-web