> > how about having set_curlwp() which can be overridden by MD definition? > > Did you envision a new place where it would be used? - MI switching code. (namely mi_switch and lwp_startup) - main for boot cpu. MD cpu startup code for other cpus. i want to make asm code minimal. YAMAMOTO Takashi