Drivers: hv: Add code to distribute channel interrupt load
commita119845f6e98c890831bb5639cdad5ca9b79965f
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 1 Dec 2012 14:46:50 +0000 (1 06:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 19:39:15 +0000 (17 11:39 -0800)
tree1c2ea4cd7cd1d0f4d5cbe2ade4397c2a39a9e315
parent6552ecd70cc6f31f4bb9d63f36a7dd023db3e519
Drivers: hv: Add code to distribute channel interrupt load

Implement a simple policy for distributing incoming interrupt load.
We classify channels as (a) performance critical and (b) not
performance critical. All non-performance critical channels will
be bound to the boot cpu. Performance critical channels will be
bound to the remaining available CPUs on a round-robin basis.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c