]> err.no Git - linux-2.6/commit
drivers/char/random.c:write_pool() cond_resched() needed
authorMatt Mackall <mpm@selenic.com>
Wed, 6 Feb 2008 09:37:20 +0000 (01:37 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:06 +0000 (10:41 -0800)
commit91f3f1e304f2e9ff2c8b9c76efd4fb8ff93110f7
tree1a36c20c159b4ad24b16201dfe5e741dc31c563d
parent5ab24c79af5a05659f68eae3e5f232c9a15359d7
drivers/char/random.c:write_pool() cond_resched() needed

Reduce latency for large writes to /dev/[u]random

Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Sami Farin <safari-kernel@safari.iki.fi>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/random.c