On Fri, Feb 04, 2022 at 06:16:01PM +0530, Harman Kalra wrote: > > offset = msg->next_msgoff; > + /* Write barrier required for VF responses which are handled by > + * PF driver and not forwarded to AF. > + */ > + smp_wmb(); Who is the reader in this case? Is it also part of the kernel? Because if a device is involved then smp_wmb is not appropriate. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt