summaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-11-30 03:14:15 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2022-12-04 14:37:08 +0100
commitb83e45fd065c3cfdb8cc0179bbddf296ce4d4fda (patch)
tree13514b16ce1e7863781f00b74c0c6b5c385ba246 /net/batman-adv
parent1c21fe00eda76e4081535c739cf9f4bbb5dcb0ce (diff)
downloadlinux-stable-b83e45fd065c3cfdb8cc0179bbddf296ce4d4fda.tar.gz
linux-stable-b83e45fd065c3cfdb8cc0179bbddf296ce4d4fda.tar.bz2
linux-stable-b83e45fd065c3cfdb8cc0179bbddf296ce4d4fda.zip
random: mix in cycle counter when jitter timer fires
Rather than just relying on interaction between cache lines of the timer and the main loop, also explicitly take into account the fact that the timer might fire at some time that's hard to predict, due to scheduling, interrupts, or cross-CPU conditions. Mix in a cycle counter during the firing of the timer, in addition to the existing one during the scheduling of the timer. It can't hurt and can only help. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions