Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



enami tsugutomo <tsugutomo.enami%jp.sony.com@localhost> wrote:
> > > 
> > > Why XC_PRI_BIT is not placed at LSB instead MSB?
> > 
> > Because you would lose the value (note, it is not a pointer).
> 
> A flag bit at LSB can be preserved by incrementing the counter by 2,
> can't it?

Not really, since it is advancing by CPU count.  Anyway, what's the point?

> Subtraction should be used to care counter wrap around that makes it
> easier.

Did you calculate at what rate and how long one would need to flood xcall
broadcasts to overflow it even with one bit taken?  I did. :)

> 
> enami.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index