Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751565AbbHEHKx (ORCPT ); Wed, 5 Aug 2015 03:10:53 -0400 Received: from mail-lb0-f172.google.com ([209.85.217.172]:36565 "EHLO mail-lb0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750742AbbHEHKv (ORCPT ); Wed, 5 Aug 2015 03:10:51 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 5 Aug 2015 09:10:50 +0200 Message-ID: Subject: Re: kdbus: to merge or not to merge? From: David Herrmann To: Andy Lutomirski Cc: Linus Torvalds , Andy Lutomirski , "linux-kernel@vger.kernel.org" , Djalal Harouni , Greg KH , Havoc Pennington , "Eric W. Biederman" , One Thousand Gnomes , Tom Gundersen , Daniel Mack , "Kalle A. Sandstrom" , Borislav Petkov , cee1 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1487 Lines: 41 Hi On Tue, Aug 4, 2015 at 4:47 PM, Andy Lutomirski wrote: > On Tue, Aug 4, 2015 at 7:09 AM, David Herrmann wrote: >> This is a bug in the proxy (which is already fixed). > > Should I expect to see it in Rawhide soon? Use this workaround until it does: $ DBUS_SYSTEM_BUS_ADDRESS="kernel:path=/sys/fs/kdbus/0-system/bus" ./your-binary > Anyway, the broadcasts that I intended to exercise were > KDBUS_ITEM_ID_REMOVE. Those appear to be broadcast to everyone, > irrespective of "policy", so long as the "match" thingy allows it. Matches are opt-in, not opt-out. Nobody will get this message unless they opt in. > The bloom filter thing won't help at all according to the docs: bloom > filters don't apply to kernel-generated notifications. Bloom filters apply to message payloads. Kernel notifications do not carry a message payload. Message metadata can be filtered for explicitly (without false-positives). > So yes, as far as I can tell, kdbus really does track object lifetime > by broadcasting every single destruction event to every single > receiver (subject to caveats above) and pokes the data into every > receiver's tmpfs space. Broadcast reception is opt-in. Thanks David -- 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/