Re: [RFC PATCH V4 4/5] cpuidle: driver for xen

From: Len Brown
Date: Thu Mar 24 2011 - 03:18:49 EST


Is a CONFIG_XEN kernel supposed to use just HLT in idle?

xen_arch_setup() does this:

pm_idle = default_idle;
boot_option_idle_override = IDLE_HALT;

which has that effect. I guess this makes sense b/c the
CONFIG_XEN kernel is Dom0 and the real C-sates are done
by the hypervisor?

Would the same CONFIG_XEN kernel binary ever not
run xen_arch_setup(), run on raw hardware, and want
to use idle states other than HLT?

thanks,
-Len Brown, Intel Open Source Technology Center


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/