[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <315fa499-2b2c-e883-4097-a8c2c415dfd4@redhat.com>
Date: Fri, 3 Feb 2017 16:01:04 +0800
From: Jason Wang <jasowang@...hat.com>
To: Christoph Hellwig <hch@....de>, mst@...hat.com
Cc: axboe@...nel.dk, pbonzini@...hat.com,
virtualization@...ts.linux-foundation.org,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/9] virtio: allow drivers to request IRQ affinity when
creating VQs
On 2017年01月27日 16:16, Christoph Hellwig wrote:
> Add a struct irq_affinity pointer to the find_vqs methods, which if set
> is used to tell the PCI layer to create the MSI-X vectors for our I/O
> virtqueues with the proper affinity from the start. Compared to after
> the fact affinity hints this gives us an instantly working setup and
> allows to allocate the irq descritors node-local and avoid interconnect
> traffic. Last but not least this will allow blk-mq queues are created
> based on the interrupt affinity for storage drivers.
>
> Signed-off-by: Christoph Hellwig<hch@....de>
> ---
Reviewed-by: Jason Wang <jasowang@...hat.com>
Powered by blists - more mailing lists