Re: [PATCH v2 1/6] random: Addition of kernel_pool

2015-04-27 Thread Stephan Mueller
Am Montag, 27. April 2015, 14:56:09 schrieb Herbert Xu: Hi Herbert, >On Sat, Apr 25, 2015 at 05:40:41PM +0200, Stephan Mueller wrote: >> +if (p->entropy_count <= >> +p->poolinfo->poolfracbits / 4) { > >There appears to be a "3 *" mis

Re: [PATCH v2 1/6] random: Addition of kernel_pool

2015-04-26 Thread Herbert Xu
On Sat, Apr 25, 2015 at 05:40:41PM +0200, Stephan Mueller wrote: > > + if (p->entropy_count <= > + p->poolinfo->poolfracbits / 4) { There appears to be a "3 *" missing. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.or

[PATCH v2 1/6] random: Addition of kernel_pool

2015-04-25 Thread Stephan Mueller
The kernel pool is intended to serve kernel-internal callers only. Its purpose and usage is identical to the blocking_pool. As the kernel_pool is not available to user space, user space cannot directly interfere with the blocking behavior when obtaining data from the kernel_pool. Thus, if entropy