commit | 1d9de44e268d880cbe2d0bd3be1ef0661f93fd34 | [log] [tgz] |
---|---|---|
author | Herbert Xu <[email protected]> | Thu May 21 16:19:54 2015 +0800 |
committer | Herbert Xu <[email protected]> | Wed May 27 17:51:45 2015 +0800 |
tree | 01d76396141709ae0d763eb8a4689b158eb511e7 | |
parent | 374d4ad18a0c4bc844dee42b3b43916e5f46608d [diff] |
random: Wake up all getrandom(2) callers when pool is ready If more than one application invokes getrandom(2) before the pool is ready, then all bar one will be stuck forever because we use wake_up_interruptible which wakes up a single task. This patch replaces it with wake_up_all. Signed-off-by: Herbert Xu <[email protected]>