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:
> > > cvs rdiff -u -r1.11 -r1.12 src/sys/kern/subr_xcall.c
> > 
> > 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?

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

enami.


Home | Main Index | Thread Index | Old Index