Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 9dfa7bb: "fix race in drivers/char/random.c:get_reg()". Signed-off-by: Theodore Ts'o <tytso@mit.edu>
- Loading branch information