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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stanichenko Marat <mstanichenko@...>
Cc: <kernelnewbies@...>
Date: Monday, August 18, 2008 - 3:23 pm

On 18-08-08 19:25, Stanichenko Marat wrote:


Just two quick comments/questions as encountered while reading. I'm not 
familiar with the random code or anything.

First, your patch was posted Base64 encoded which doesn't make it easier 
to look at/comment on. Base64 encoding even text/plain attchments is a 
longstanding Thunderbird bug when your outgoing charset is set to UTF-8 
(and the reason why my outgoing charset is ISO8859-15; you just won't 
remember to switch from UTF-8 to something else every time when posting 
a patch otherwise).


Is that supposed to be &ent_ioctl_produce.lock?



Couldn't state->nbits be an atomic_t? The locking looks like it might be 
a little expensive. Maybe they should be per-cpu? I have no idea about 
the frequencies here...

Rene.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH][RFC] random: show /dev/random statistics per interfa..., Stanichenko Marat, (Mon Aug 18, 1:25 pm)
Re: [PATCH][RFC] random: show /dev/random statistics per int..., Rene Herman, (Mon Aug 18, 3:23 pm)
Re: [PATCH][RFC] random: show /dev/random statistics per int..., Stanichenko Marat, (Wed Aug 20, 2:21 pm)
Re: [PATCH][RFC] random: show /dev/random statistics per int..., Stanichenko Marat, (Thu Aug 21, 3:19 am)