Re: [PATCH 3/3] crypto: scompress: remove memcpy if sg_nents is 1

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

 



On Wed, Jan 03, 2024 at 10:50:06PM +1300, Barry Song wrote:
>
> +	if (dst != scratch->dst)
> +		kunmap_local(dst);

This is missing a flush_dcache_page.

It may not matter for zswap, but this is API code and needs to
work for every single case.

Thanks,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux