Re: [PATCH v2] hw_random: core, sleep interruptible in read

2015-12-04 Thread Herbert Xu
On Fri, Nov 27, 2015 at 04:50:43PM +0100, Jiri Slaby wrote: > hwrng kthread can be waiting via hwrng_fillfn for some data from a rng > like virtio-rng: > hwrng D 880093e17798 0 382 2 0x > ... > Call Trace: > [] wait_for_completion_killable+0x96/0x210 > []

[PATCH v2] hw_random: core, sleep interruptible in read

2015-11-27 Thread Jiri Slaby
hwrng kthread can be waiting via hwrng_fillfn for some data from a rng like virtio-rng: hwrng D 880093e17798 0 382 2 0x ... Call Trace: [] wait_for_completion_killable+0x96/0x210 [] virtio_read+0x57/0xf0 [virtio_rng] [] hwrng_fillfn+0x75/0x130 []