aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorGeorge Spelvin <[email protected]>2020-07-03 15:19:57 +0200
committerMartin K. Petersen <[email protected]>2020-07-08 00:50:52 -0400
commit0cd0e57ec858edda580fb90b53df5269216b61b2 (patch)
tree05f9c11d23e8f56cb62aa2752d97896722e29224 /tools/perf/scripts/python/flamegraph.py
parent919a295abf968cec6ffd3c629241b2e626cf0f5d (diff)
scsi: zfcp: Use prandom_u32_max() for backoff
We don't need crypto-grade random numbers for randomized backoffs. Instead use prandom_u32_max(ep_ro) which generates a pseudo-random number uniformly distributed in the interval [0, ep_ro). Link: https://lore.kernel.org/r/8fc7c4c4069ff1783f4a9ccd84a923f581a09ec5.1593780621.git.bblock@linux.ibm.com Reviewed-by: Steffen Maier <[email protected]> Signed-off-by: George Spelvin <[email protected]> Signed-off-by: Benjamin Block <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions