mzqohf at 0pointer.de
Sat May 8 07:08:53 PDT 2010
On Sat, 08.05.10 17:06, Rémi Denis-Courmont (remi at remlab.net) wrote:
> Le samedi 8 mai 2010 16:19:48 Lennart Poettering, vous avez écrit :
> > My recommendation for this would be to do something that has recently
> > been done in libudev to minimize wakeups in the monitoring clients there:
> > pass along pre-calculated bloom filters with the packets and use BSD
> > socket filters to test them and supress unmatched packets.
> If I'm not mistaken, udev uses Netlink sockets with datagram semantics. I
> wonder how BPF is supposed to work with stream socket semantics, that DBus
> currently uses.
Probably by going for SOCK_SEQPACKET then.
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the dbus