Re: Question on random.c add_interrupt_randomness function

2018-04-24 Thread Theodore Y. Ts'o
On Tue, Apr 24, 2018 at 03:24:55PM +0200, Harald Freudenberger wrote: > The condition is true and terminates the function > when the count value of the cpu fast pool is below 64 > AND the time since last mix of the pool is lower than > HZ (so lower than 1s). > This means the code following this

Question on random.c add_interrupt_randomness function

2018-04-24 Thread Harald Freudenberger
Hello Theodore, I am currently investigating a better implementation of the arch_get_random_long_seed() implementation for s390. And so I stumbled over the function add_interrupt_randomness() in random.c and have one question regarding this code: void add_interrupt_randomness(int irq, int