aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDominik Brodowski <[email protected]>2022-02-09 19:57:06 +0100
committerJason A. Donenfeld <[email protected]>2022-02-21 21:14:00 +0100
commit7191c628fe07b70d3f37de736d173d1b115396ed (patch)
tree158902b21e512d00d2f13d58367e8e37a1384e5b /tools/perf/scripts/python
parent7b5164fb1279bf0251371848e40bae646b59b3a8 (diff)
random: fix locking for crng_init in crng_reseed()
crng_init is protected by primary_crng->lock. Therefore, we need to hold this lock when increasing crng_init to 2. As we shouldn't hold this lock for too long, only hold it for those parts which require protection. Signed-off-by: Dominik Brodowski <[email protected]> Reviewed-by: Eric Biggers <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions