Re: [RFC PATCH 2/4] x86, mwaitt: introduce mwaitx idle with a configurable timer

From: Ingo Molnar
Date: Mon May 25 2015 - 06:44:05 EST



* Huang Rui <ray.huang@xxxxxxx> wrote:

> No, the timeout value doesn't decide how 'deep' the power state
> enters. Basically, the same power consumption with any timeout.
>
> I summarized the comparison of mwait and mwaitx
>
> MWAIT MWAITX
> opcode 0f 01 c9 | 0f 01 fb
> ECX[0] value of RFLAGS.IF seen by instruction
> ECX[1] unused/#GP if set | enable timer if set
> ECX[31:2] unused/#GP if set
> EAX unused
> EBX[31:0] unused | max wait time (loops)
>
>
> MONITOR MONITORX
> opcode 0f 01 c8 | 0f 01 fa
> EAX (logical) address to monitor
> ECX #GP if not zero

Ok, thanks for the clarification!

Thanks,

Ingo
--
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/