]> git.baikalelectronics.ru Git - kernel.git/commit
random: use lockless techniques in the interrupt path
authorTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jul 2012 14:38:30 +0000 (10:38 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 15 Jul 2012 00:17:43 +0000 (20:17 -0400)
commita5be15fc0d866215a26849c85d13f1c02eb1e2e7
treee2f984d5903236d4d593e457fd1279fd24177af2
parentd002128877e15b6b96a4eb2c08059b5901c8a432
random: use lockless techniques in the interrupt path

The real-time Linux folks don't like add_interrupt_randomness() taking
a spinlock since it is called in the low-level interrupt routine.
This also allows us to reduce the overhead in the fast path, for the
random driver, which is the interrupt collection path.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
drivers/char/random.c