[PATCH][RFC] random: show /dev/random statistics per interface, kernel 2.6.26.1, v2

2008-08-26 Thread Stanichenko Marat
From: Stanichenko Marat [EMAIL PROTECTED] Add the interface that shows the amount of entropy generated via the interfaces and also the amount consumed. This patch adds two files in proc. The first of them shows the entropy generated per interface, the second one - the amount consumed from

Re: [PATCH][RFC] random: show /dev/random statistics per interface, kernel 2.6.26.1

2008-08-20 Thread Stanichenko Marat
Rene Herman wrote on 18.08.2008 23:23: On 18-08-08 19:25, Stanichenko Marat wrote: From: Stanichenko Marat [EMAIL PROTECTED] Add the interface that shows the amount of entropy generated via the interfaces and also the amount consumed. This patch adds two files in proc. The first of them

Re: [PATCH][RFC] random: show /dev/random statistics per interface, kernel 2.6.26.1

2008-08-20 Thread Rene Herman
On 20-08-08 20:21, Stanichenko Marat wrote: -credit_entropy_bits(input_pool, -min_t(int, fls(delta1), 11)); +nbits = min_t(int, fls(delta1), 11); +spin_lock_irqsave(state-lock, flags); +state-nbits += nbits; +

[PATCH][RFC] random: show /dev/random statistics per interface, kernel 2.6.26.1

2008-08-18 Thread Stanichenko Marat
From: Stanichenko Marat [EMAIL PROTECTED] Add the interface that shows the amount of entropy generated via the interfaces and also the amount consumed. This patch adds two files in proc. The first of them shows the entropy generated per interface, the second one - the amount consumed from

Re: [PATCH][RFC] random: show /dev/random statistics per interface, kernel 2.6.26.1

2008-08-18 Thread Rene Herman
On 18-08-08 19:25, Stanichenko Marat wrote: From: Stanichenko Marat [EMAIL PROTECTED] Add the interface that shows the amount of entropy generated via the interfaces and also the amount consumed. This patch adds two files in proc. The first of them shows the entropy generated per interface,