changelog: 1) the way to place processor into deep cstate is determined by register address space id, instead by mwait feature. 2) export cpu_wakeup and cpu_mwait_wakeup, so that disp_enq_thread can be assigned on the fly.
io/cpu_idle.c | 58 ++++++++++++++++++++++++++++++++++++-------------------- os/mp_machdep.c | 12 +++++------ os/mp_pc.c | 4 +-- sys/cpu_idle.h | 4 ++- 4 files changed, 49 insertions(+), 29 deletions(-) Thanks, -Aubrey
