aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2020-09-15 13:30:24 +1000
committerHerbert Xu <[email protected]>2020-09-25 17:48:13 +1000
commit255f6c2e74b136662a191652d688bd7566c94bf6 (patch)
treec13b3ae2dd3f77e3556a1732d3758f40bd67b944 /tools/perf/scripts/python/bin/stackcollapse-record
parent63cdd870ab058e750b7358a979f8baccbbdcfdcc (diff)
crypto: lib/chacha20poly1305 - Set SG_MITER_ATOMIC unconditionally
There is no reason for the chacha20poly1305 SG miter code to use kmap instead of kmap_atomic as the critical section doesn't sleep anyway. So we can simply get rid of the preemptible check and set SG_MITER_ATOMIC unconditionally. Even if we need to reenable preemption to lower latency we should be doing that by interrupting the SG miter walk rather than using kmap. Reported-by: Linus Torvalds <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions