Re: [PATCH V4 11/13] vfio: Use select for eventfd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 25, 2021 at 04:51:37PM +0300, Yishai Hadas wrote:
> From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> 
> If VFIO_VIRQFD is required then turn on eventfd automatically.
> The majority of kconfig users of the EVENTFD use select not depends on.
> 
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Signed-off-by: Yishai Hadas <yishaih@xxxxxxxxxx>

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

>  config VFIO_VIRQFD
>  	tristate
> -	depends on VFIO && EVENTFD
> +	depends on VFIO
> +	select EVENTFD
>  	default n

Nit: the 'default n' is not actually needed.



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux