[PATCH v4 6/8] fsverity: improve performance by using multibuffer hashing
Herbert Xu
herbert at gondor.apana.org.au
Wed Jun 5 02:46:27 PDT 2024
On Wed, Jun 05, 2024 at 05:22:21PM +0800, Herbert Xu wrote:
>
> However, I really dislike the idea of shoehorning this into shash.
> I know you really like shash, but I think there are some clear
> benefits to be had by coupling this with ahash.
If we do this properly, we should be able to immediately use the
mb code with IPsec. In the network stack, we already aggregate
the data prior to IPsec with GSO. So at the boundary between
IPsec and the Crypto API, it's dividing chunks of data up to 64K
into 1500-byte packets and feeding them to crypto one at a time.
It really should be sending the whole chain of packets to us as
a unit.
Once we have a proper mb interface, we can fix that and immediately
get the benefit of mb hashing.
Cheers,
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the linux-arm-kernel
mailing list