lkml.org 
[lkml]   [2001]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: why no call to add_interrupt_randomness() on PPC?
> I was looking at turning on SA_SAMPLE_RANDOM in
> our network driver, but then I realized that it would have no effect
> because it isn't even supported on PPC.

adding a call to add_interrupt_randomness() sounds like a good
idea if only for consistency and certainly does no harm (especially
if no net drivers use it), except that the timing is very coarsely
grained (jiffies) on PPC. It would be even better if you added
some cycle clock reading code to random.c for the PPC (in addition
to the i386 specific stuff) or better abstracted it all out into
arch directories.

Adding SA_SAMPLE_RANDOM to net devices: well, see other thread
ad-nauseam & make up your own mind :-)

--
Alex Bligh
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.082 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site