Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933610AbbDUPyt (ORCPT ); Tue, 21 Apr 2015 11:54:49 -0400 Received: from 251.110.2.81.in-addr.arpa ([81.2.110.251]:50831 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932941AbbDUPyk (ORCPT ); Tue, 21 Apr 2015 11:54:40 -0400 Date: Tue, 21 Apr 2015 16:53:52 +0100 From: One Thousand Gnomes To: Greg Kroah-Hartman Cc: Olivier Galibert , Andy Lutomirski , Richard Weinberger , David Herrmann , Linus Torvalds , Steven Rostedt , Jiri Kosina , Al Viro , Borislav Petkov , Andrew Morton , Arnd Bergmann , "Eric W. Biederman" , Tom Gundersen , "linux-kernel@vger.kernel.org" , Daniel Mack , Djalal Harouni Subject: Re: [GIT PULL] kdbus for 4.1-rc1 Message-ID: <20150421165352.08edea2e@lxorguk.ukuu.org.uk> In-Reply-To: <20150421134836.GA9895@kroah.com> References: <20150420205638.GA3015@kroah.com> <55356CC1.1040301@nod.at> <20150420214651.GA4215@kroah.com> <20150421103128.GA4870@kroah.com> <20150421134836.GA9895@kroah.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2053 Lines: 49 > Um, no, they go through the kernel for that model as well, same > interface, it just depends on the type of message that you are sending > as to who the recipients are (single or more than one.) In other words its bog standard classic network layer multicasting. You don't need much policy for that > How would packet filtering work here for this type of decision making? > That's a much more complex interface than what we have implemented, > don't you agree? No - its about 10 lines of code to invoke EBPF. The socket layer supports it today. What it doesn't have is the multicast transport bits. It's a classic networking layer item. I know DaveM didn't like the original because all the policy was mixed up in it and the blocking problem was undefined but every time I look at this I reach the same conclusion - Its a socket layer problem - The sk_buff structures are the memory allocator needed - The socket layer does the resource management - The socket layer has SCM_RIGHTS already - The socket layer has EBPF already - The socket layer has a fantastic debugging environment - It's the same components needed for fast MQ services and (almost) for HPC uses [HPC wants scatter/gather too] It just needs - RDP multicast AF_UNIX type sockets. Not in itself a huge problem, although it does need some nice refcounting so that you queue each message once and the readers share it. - A clear fairly policy-free description of how you deal with multicast to some clients who are "full" And I think that aspect of things needs to go back via the networking maintainers to figure out if this is "DaveM doesn't like dbus" or there are some actually insoluble problems I'm missing here. Designing alternate turds to go around DaveM may not be the right approach even if he's stubborn 8) Alan -- 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/