Messages in this thread | | | Date | Sun, 27 Jan 2013 01:23:56 -0500 (EST) | Subject | Re: [PATCH V8 1/3] virtio-net: fix the set affinity bug when CPU IDs are not consecutive | From | David Miller <> |
| |
From: Wanlong Gao <gaowanlong@cn.fujitsu.com> Date: Fri, 25 Jan 2013 17:51:29 +0800
> 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. > > Cc: Rusty Russell <rusty@rustcorp.com.au> > Cc: "Michael S. Tsirkin" <mst@redhat.com> > Cc: Jason Wang <jasowang@redhat.com> > Cc: Eric Dumazet <erdnetdev@gmail.com> > Cc: "David S. Miller" <davem@davemloft.net> > Cc: virtualization@lists.linux-foundation.org > Cc: netdev@vger.kernel.org > Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> > Acked-by: Michael S. Tsirkin <mst@redhat.com>
Applied.
| |