Re: [PATCH] Add carta_random32() library routine

From: Stephen Hemminger
Date: Wed Oct 11 2006 - 15:30:35 EST


On Wed, 11 Oct 2006 15:22:57 -0400
Jeff Garzik <jeff@xxxxxxxxxx> wrote:

> Linux Kernel Mailing List wrote:
> > commit e0ab2928cc2202f13f0574d4c6f567f166d307eb
> > tree 3df0b8e340b1a98cd8a2daa19672ff008e8fb7f9
> > parent b611967de4dc5c52049676c4369dcac622a7cdfe
> > author Stephane Eranian <eranian@xxxxxxxxxx> 1160554905 -0700
> > committer Linus Torvalds <torvalds@xxxxxxxxxxx> 1160590461 -0700
> >
> > [PATCH] Add carta_random32() library routine
> >
> > This is a follow-up patch based on the review for perfmon2. This patch
> > adds the carta_random32() library routine + carta_random32.h header file.
> >
> > This is fast, simple, and efficient pseudo number generator algorithm. We
> > use it in perfmon2 to randomize the sampling periods. In this context, we
> > do not need any fancy randomizer.
>
> hrm, does this really warrant inclusion into every kernel build, on
> every platform?
>
> Jeff
>

Wouldn't existing net_random() work?

--
Stephen Hemminger <shemminger@xxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/