Messages in this thread | | | Date | Fri, 7 Apr 2006 14:26:03 +0400 | From | Evgeniy Polyakov <> | Subject | Re: [2.6.16 PATCH] Filessytem Events Reporter V2 |
| |
On Fri, Apr 07, 2006 at 06:03:04PM +0800, Yi Yang (yang.y.yi@gmail.com) wrote: > >>Can you explain why there is such a big difference between > >>netlink_unicast and netlink_broadcast? > >> > > > >Netlink broadcast clones skbs, while unicasting requires the whole new > >one. > > > No, I also use clone to send skb, so they should have the same overhead.
I missed that. After rereading fsevent_send_to_process() I do not see how original skb is freed though.
> >>>Btw, you need some rebalancing of the per-cpu queues, probably in > >>>keventd, since CPUs can go offline and your messages will stuck foreve > >>>there. > >>> > >>> > >>Does keventd not do it? if so, keventd should be modified. > >> > > > >How does keventd know about your own structures? > >You have an per-cpu object, but your keventd function gets object > >from running cpu, not from any other cpus.
-- Evgeniy Polyakov - 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/
| |