login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
December
»
9
Re: [PATCH 6/6] random: improve variable naming, clear extract buffer
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Matt Mackall <mpm@...>
To: <tytso@...>, Andrew Morton <akpm@...>, <linux-kernel@...>
Subject:
Re: [PATCH 6/6] random: improve variable naming, clear extract buffer
Date: Sunday, December 9, 2007 - 1:08 am
On Sat, Dec 08, 2007 at 08:51:54PM -0500, Theodore Tso wrote:
quoted text
> On Sat, Dec 08, 2007 at 05:21:00PM -0600, Matt Mackall wrote: > > random: improve variable naming, clear extract buffer > > > > - split the SHA variables apart into hash and workspace > > - rename data to extract > > - wipe extract and workspace after hashing > > > > diff -r 924f9a441236 drivers/char/random.c > > --- a/drivers/char/random.c Sat Dec 08 16:22:29 2007 -0600 > > +++ b/drivers/char/random.c Sat Dec 08 16:32:31 2007 -0600 > > @@ -461,7 +461,7 @@ static void __add_entropy_words(struct e > > unsigned long flags; > > /* rotate the add pointer more rapidly to span more of the > > * pool on a given add */ > > - const int step = 5; > > + const int step = 13; > > > > /* Taps are constant, so we can load them without holding r->lock. */ > > tap1 = r->poolinfo->tap1; > > This change has nothing to do with the patch comment. If you want to > change the step size from 5 to 13, why not just change patch 5/6 to > just use a step size of 13 from the beginning?
Patch refresh gone wrong.
quoted text
> Otherwise, yeah, this patch does make sense.
Twice, in fact. This patch as sent won't compile due to an extra &. -- Mathematics is the supreme nostalgia of our time. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Re: [PATCH 6/6] random: improve variable naming, clear extra...
, Theodore Tso
, (Sat Dec 8, 9:51 pm)
Re: [PATCH 6/6] random: improve variable naming, clear extra...
, Matt Mackall
, (Sun Dec 9, 1:08 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Yinghai Lu
[PATCH] x86: make e820.c to have common functions
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Eric W. Biederman
Re: [PATCH 0/4][RFC] netns: sysfs: add a netns suffix to net device sysfs entries
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
897 guests
online.
Online users
apnote50
Syndicate