From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754417AbbJPR5X (ORCPT ); Fri, 16 Oct 2015 13:57:23 -0400 Received: from www62.your-server.de ([213.133.104.62]:48331 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754231AbbJPR5R (ORCPT ); Fri, 16 Oct 2015 13:57:17 -0400 Message-ID: <56213A61.40509@iogearbox.net> Date: Fri, 16 Oct 2015 19:56:49 +0200 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Alexei Starovoitov , Hannes Frederic Sowa , davem@davemloft.net CC: viro@ZenIV.linux.org.uk, ebiederm@xmission.com, tgraf@suug.ch, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Alexei Starovoitov Subject: Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs References: <1445016105.1251655.412231129.6574D430@webmail.messagingengine.com> <5621371C.2000507@plumgrid.com> In-Reply-To: <5621371C.2000507@plumgrid.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/16/2015 07:42 PM, Alexei Starovoitov wrote: > On 10/16/15 10:21 AM, Hannes Frederic Sowa wrote: >> Another question: >> Should multiple mount of the filesystem result in an empty fs (a new >> instance) or in one were one can see other ebpf-fs entities? I think >> Daniel wanted to already use the mountpoint as some kind of hierarchy >> delimiter. I would have used directories for that and multiple mounts >> would then have resulted in the same content of the filesystem. IMHO >> this would remove some ambiguity but then the question arises how this >> is handled in a namespaced environment. Was there some specific reason >> to do so? > > That's an interesting question! > I think all mounts should be independent. > I can see tracing using one and networking using another one > with different hierarchies suitable for their own use cases. > What's an advantage to have the same content everywhere? > Feels harder to manage, since different users would need to > coordinate. I initially had it as a mount_single() file system, where I was thinking to have an entry under /sys/fs/bpf/, so all subsystems would work on top of that mount point, but for the same reasons above I lifted that restriction. Cheers, Daniel