Re: drivers/char/random.c:write_pool() -- cond_resched needed?

2007-12-03 Thread Matt Mackall
On Fri, Nov 30, 2007 at 11:58:10PM +0200, Sami Farin wrote: > In write_pool(), isn't cond_resched() needed after call to > add_entropy_words() because otherwise there can be large latencies > (think of command "dd if=/dev/zero of=/dev/random bs=1" ) ? Yes, looks like you're right. Reduce

drivers/char/random.c:write_pool() -- cond_resched needed?

2007-11-30 Thread Sami Farin
In write_pool(), isn't cond_resched() needed after call to add_entropy_words() because otherwise there can be large latencies (think of command "dd if=/dev/zero of=/dev/random bs=1" ) ? -- Do what you love because life is too short for anything else. - To unsubscribe from this list: send