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]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux