From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin KaFai Lau Subject: Re: [PATCH net-next v2 2/4] cgroup: bpf: Add BPF_MAP_TYPE_CGROUP_ARRAY Date: Thu, 23 Jun 2016 15:10:15 -0700 Message-ID: <20160623221015.GA93293@kafai-mba.DHCP.thefacebook.com> References: <1466630252-3822277-1-git-send-email-kafai@fb.com> <1466630252-3822277-3-git-send-email-kafai@fb.com> <576BAF07.4020302@iogearbox.net> <20160623212616.GA90834@kafai-mba.DHCP.thefacebook.com> <576C5990.9000300@iogearbox.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: , , , Alexei Starovoitov , Tejun Heo , To: Daniel Borkmann Return-path: Content-Disposition: inline In-Reply-To: <576C5990.9000300@iogearbox.net> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, Jun 23, 2016 at 11:50:08PM +0200, Daniel Borkmann wrote: > On 06/23/2016 11:26 PM, Martin KaFai Lau wrote: > >We are still hatching out how to set this up in production. However, the > >situation is similar to removing the pinned file. s/pinned file/pinned cgroup-array/ > I presume you mean removing the last BPF program holding a reference on > the cgroup array map. Yes > (Any user space visibility like struct files given > from the anon inode and pinnings are tracked via uref, btw, which is > needed to break possible complex dependencies among tail called programs.) Yep. Understood on prog_array use case. Thanks, -- Martin