From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 08/13] net: tcp_memcontrol: simplify linkage between socket and page counter Date: Wed, 25 Nov 2015 11:28:41 -0500 (EST) Message-ID: <20151125.112841.913325896219902485.davem@davemloft.net> References: <1448401925-22501-1-git-send-email-hannes@cmpxchg.org> <1448401925-22501-9-git-send-email-hannes@cmpxchg.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, vdavydov-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org, mhocko-AlSwsSmVLrQ@public.gmane.org, tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, eric.dumazet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-team-b10kYP2dOMg@public.gmane.org To: hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org Return-path: In-Reply-To: <1448401925-22501-9-git-send-email-hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org From: Johannes Weiner Date: Tue, 24 Nov 2015 16:52:00 -0500 > There won't be any separate counters for socket memory consumed by > protocols other than TCP in the future. Remove the indirection and > link sockets directly to their owning memory cgroup. > > Signed-off-by: Johannes Weiner > Reviewed-by: Vladimir Davydov Acked-by: David S. Miller