Re: [PATCH] random: Optimize add_interrupt_randomness

2018-02-28 Thread Theodore Ts'o
Thanks, applied. - Ted On Wed, Feb 28, 2018 at 01:43:28PM -0800, Andi Kleen wrote: > From: Andi Kleen > > add_interrupt_randomess always wakes up > code blocking on /dev/random. This wake up is done > unconditionally. Unfortunately this means all interrup

[PATCH] random: Optimize add_interrupt_randomness

2018-02-28 Thread Andi Kleen
From: Andi Kleen add_interrupt_randomess always wakes up code blocking on /dev/random. This wake up is done unconditionally. Unfortunately this means all interrupts take the wait queue spinlock, which can be rather expensive on large systems processing lots of interrupts. We saw 1% cpu time spin