Re: [PATCH V6 1/3] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

From: Rusty Russell
Date: Mon Jan 21 2013 - 20:29:33 EST


Wanlong Gao <gaowanlong@xxxxxxxxxxxxxx> writes:

> As Michael mentioned, set affinity and select queue will not work very
> well when CPU IDs are not consecutive, this can happen with hot unplug.
> Fix this bug by traversal the online CPUs, and create a per cpu variable
> to find the mapping from CPU to the preferable virtual-queue.

This series looks fairly sane at a glance, to me, but MST is the Ack you
need.

Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/