diff options
author | Greg Price <[email protected]> | 2013-11-29 20:09:37 -0500 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2014-03-19 22:18:51 -0400 |
commit | a58aa4edc6d2e779894b1fa95a2f4de157ff3b3b (patch) | |
tree | 9ae4c66ee56c768cdc6370a879154acbccb10133 /lib/memory-notifier-error-inject.c | |
parent | ee1de406ba6eb1e01f143fe3351e70cc772cc63e (diff) |
random: forget lock in lockless accounting
The only mutable data accessed here is ->entropy_count, but since
10b3a32d2 ("random: fix accounting race condition") we use cmpxchg to
protect our accesses to ->entropy_count here. Drop the use of the
lock.
Cc: Jiri Kosina <[email protected]>
Signed-off-by: Greg Price <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions