[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130127.012356.186129078703210985.davem@davemloft.net>
Date: Sun, 27 Jan 2013 01:23:56 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: gaowanlong@...fujitsu.com
Cc: linux-kernel@...r.kernel.org, rusty@...tcorp.com.au,
mst@...hat.com, jasowang@...hat.com, erdnetdev@...il.com,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org
Subject: Re: [PATCH V8 1/3] virtio-net: fix the set affinity bug when CPU
IDs are not consecutive
From: Wanlong Gao <gaowanlong@...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@...tcorp.com.au>
> Cc: "Michael S. Tsirkin" <mst@...hat.com>
> Cc: Jason Wang <jasowang@...hat.com>
> Cc: Eric Dumazet <erdnetdev@...il.com>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: virtualization@...ts.linux-foundation.org
> Cc: netdev@...r.kernel.org
> Signed-off-by: Wanlong Gao <gaowanlong@...fujitsu.com>
> Acked-by: Michael S. Tsirkin <mst@...hat.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists