diff options
author | Eric Biggers <ebiggers@google.com> | 2025-01-05 22:34:10 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-01-14 06:38:32 +0300 |
commit | 807c8018f5c90b10e172caf3858999cf3754fe7f (patch) | |
tree | e640f990b2a392f1b585839fd1972c42e1a235fc /tools/perf/scripts/python/flamegraph.py | |
parent | e71778c95a804ba641e1407b3a5e49bcae791f3a (diff) | |
download | linux-807c8018f5c90b10e172caf3858999cf3754fe7f.tar.xz |
crypto: skcipher - remove unnecessary page alignment of bounce buffer
In the slow path of skcipher_walk where it uses a slab bounce buffer for
the data and/or IV, do not bother to avoid crossing a page boundary in
the part(s) of this buffer that are used, and do not bother to allocate
extra space in the buffer for that purpose. The buffer is accessed only
by virtual address, so pages are irrelevant for it.
This logic may have been present due to the physical address support in
skcipher_walk, but that has now been removed. Or it may have been
present to be consistent with the fast path that currently does not hand
back addresses that span pages, but that behavior is a side effect of
the pages being "mapped" one by one and is not actually a requirement.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions