svn commit: r285692 - head/sys/dev/random

2015-07-19 Thread Mark Murray
Author: markm Date: Sun Jul 19 16:05:30 2015 New Revision: 285692 URL: https://svnweb.freebsd.org/changeset/base/285692 Log: Fix the read blocking so that it is interruptable and slow down the rate of console warning spamming while blocked. Approved by: so (/dev/random blanket)

Re: svn commit: r285692 - head/sys/dev/random

2015-07-19 Thread Konstantin Belousov
On Sun, Jul 19, 2015 at 04:05:31PM +, Mark Murray wrote: Author: markm Date: Sun Jul 19 16:05:30 2015 New Revision: 285692 URL: https://svnweb.freebsd.org/changeset/base/285692 Log: Fix the read blocking so that it is interruptable and slow down the rate of console warning spamming

Re: svn commit: r285692 - head/sys/dev/random

2015-07-19 Thread Mark R V Murray
On 19 Jul 2015, at 18:02, Konstantin Belousov kostik...@gmail.com wrote: -printf(random: %s unblock wait\n, __func__); +/* Only bother the console every 10 seconds or so */ +if (spamcount == 0) +printf(random: %s unblock wait\n,