Staging: hv: util: Invoke cn_netlink_send() in a work context
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 10 Oct 2011 02:42:28 +0000 (19:42 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Oct 2011 04:50:00 +0000 (22:50 -0600)
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.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found