Re: [PATCH 2/6] commit: add generation number to struct commmit
On Wed, Apr 04, 2018 at 12:17:06AM +0100, Ramsay Jones wrote:
Show 12 quoted lines
> >> Is there any reason to believe this would be too small of a value in the
> >> future? Or is a 32 bit unsigned good enough?
> >
> > The linux kernel took ~10 years to produce 500k commits. Even assuming
> > those were all linear (and they're not), that gives us ~80,000 years of
> > leeway. So even if the pace of development speeds up or we have a
> > quicker project, it still seems we have a pretty reasonable safety
> > margin.
>
> I didn't read the patches closely, but isn't it ~20,000 years?
>
> Given that '#define GENERATION_NUMBER_MAX 0x3FFFFFFF', that is. ;-)
What, I'm supposed to read the patches before responding? Heresy.
-Peff