kernel-fxtec-pro1x/drivers/hv
Vitaly Kuznetsov 79fd8e7066 Drivers: hv: vmbus: avoid infinite loop in init_vp_index()
When we pick a CPU to use for a new subchannel we try find a non-used one
on the appropriate NUMA node, we keep track of them with the
primary->alloced_cpus_in_node mask. Under normal circumstances we don't run
out of available CPUs but it is possible when we we don't initialize some
cpus in Linux, e.g. when we boot with 'nr_cpus=' limitation.

Avoid the infinite loop in init_vp_index() by checking that we still have
non-used CPUs in the alloced_cpus_in_node mask and resetting it in case
we don't.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-07 21:34:12 -08:00
..
channel.c Drivers: hv: ring_buffer: eliminate hv_ringbuffer_peek() 2015-12-14 19:27:30 -08:00
channel_mgmt.c Drivers: hv: vmbus: avoid infinite loop in init_vp_index() 2016-02-07 21:34:12 -08:00
connection.c Drivers: hv: vmbus: Cleanup vmbus_set_event() 2016-02-07 21:32:57 -08:00
hv.c Drivers: hv: vmbus: Cleanup vmbus_set_event() 2016-02-07 21:32:57 -08:00
hv_balloon.c Drivers: hv: balloon: Enable dynamic memory protocol negotiation with Windows 10 hosts 2015-08-04 22:28:39 -07:00
hv_fcopy.c Drivers: hv: utils: run polling callback always in interrupt context 2015-12-14 19:12:21 -08:00
hv_kvp.c Drivers: hv: utils: Invoke the poll function after handshake 2015-12-14 19:15:05 -08:00
hv_snapshot.c Drivers: hv: utils: Invoke the poll function after handshake 2015-12-14 19:15:05 -08:00
hv_util.c Drivers: hv: util: On device remove, close the channel after de-initializing the service 2015-03-01 19:31:02 -08:00
hv_utils_transport.c Drivers: hv: utils: fix hvt_op_poll() return value on transport destroy 2015-12-21 13:14:56 -08:00
hv_utils_transport.h Drivers: hv: utils: introduce HVUTIL_TRANSPORT_DESTROY mode 2015-12-14 19:27:30 -08:00
hyperv_vmbus.h Drivers: hv: vmbus: Cleanup vmbus_set_event() 2016-02-07 21:32:57 -08:00
Kconfig x86: Make Linux guest support optional 2013-03-04 13:14:25 -08:00
Makefile Drivers: hv: util: introduce hv_utils_transport abstraction 2015-05-24 12:17:41 -07:00
ring_buffer.c Drivers: hv: ring_buffer: eliminate hv_ringbuffer_peek() 2015-12-14 19:27:30 -08:00
vmbus_drv.c Drivers: hv: vmbus: Add vendor and device atttributes 2016-02-07 21:32:57 -08:00