diff options
author | 2017-06-07 19:01:32 -0400 | |
---|---|---|
committer | 2017-06-07 19:01:32 -0400 | |
commit | 92e75428ffc90e2a0321062379f883f3671cfebe (patch) | |
tree | b06b973a94111993fa11672556d0e0c9d1bd134d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | fix race in drivers/char/random.c:get_reg() (diff) | |
download | wireguard-linux-92e75428ffc90e2a0321062379f883f3671cfebe.tar.xz wireguard-linux-92e75428ffc90e2a0321062379f883f3671cfebe.zip |
random: use lockless method of accessing and updating f->reg_idx
Linus pointed out that there is a much more efficient way of avoiding
the problem that we were trying to address in commit 9dfa7bba35ac0:
"fix race in drivers/char/random.c:get_reg()".
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions