diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-06-19 09:47:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-06-19 09:47:41 -0500 |
commit | 4afb65156a79c59fbdbc10abb0bf06ff83f73e23 (patch) | |
tree | e28c6ee5f88c3003bf877d5a4fda8f6c3fdd6a57 /arch/s390/lib/test_modules_helpers.c | |
parent | 36da9f5fb6e3a0a88ba28e5a7cc7d5449641a286 (diff) | |
parent | 4051a81774d6d8e28192742c26999d6f29bc0e68 (diff) |
Merge tag 'locking-urgent-2022-06-19' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull lockdep fix from Thomas Gleixner:
"A RT fix for lockdep.
lockdep invokes prandom_u32() to create cookies. This worked until
prandom_u32() was switched to the real random generator, which takes a
spinlock for extraction, which does not work on RT when invoked from
atomic contexts.
lockdep has no requirement for real random numbers and it turns out
sched_clock() is good enough to create the cookie. That works
everywhere and is faster"
* tag 'locking-urgent-2022-06-19' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
locking/lockdep: Use sched_clock() for random numbers
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions