[PATCH 1/1] Staging: hv: util: Invoke cn_netlink_send() in a work context

Christoph Hellwig hch at infradead.org
Mon Oct 10 11:43:58 UTC 2011


On Sun, Oct 09, 2011 at 07:42:28PM -0700, K. Y. Srinivasan wrote:
> Invoke cn_netlink_send() in a work context as opposed being called
> in the context of  channel callback. On entry into the channel callback
> code the channel inbound spin lock is held and deferring to a work
> context avoids having to invoke cn_netlink_send() while holding
> the inbound lock. As part of this adjustment, also increase the
> timeout value for waiting for the user level component of KVP.

As told a few times you really need to move away from the connector
before sumitting the KVP support.  What about tackling that instead of
band aiding it?




More information about the devel mailing list