enami tsugutomo <tsugutomo.en...@jp.sony.com> 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). > Is cpu state change (from offline to online or vise versa) cared? > No, but we do not have the means yet, plus code in various places is already racy. We ought to fix it, however RW-lock for such global state is not suitable - passive serialization or read-mostly lock would do. -- Mindaugas