linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Mwait usage on AMD processors
@ 2015-05-14  6:54 Huang Rui
  2015-05-14  9:21 ` Borislav Petkov
  0 siblings, 1 reply; 9+ messages in thread
From: Huang Rui @ 2015-05-14  6:54 UTC (permalink / raw)
  To: Len Brown, Rafael J. Wysocki
  Cc: linux-kernel, Fengguang Wu, Aaron Lu, Tony Li

Hi Len, Rafael, and all,

AMD proposed a new instruction named mwaitx. This is an extension of
mwait with a configurable timer (mwaitx = mwait + timer). And mwaitx
will act as mwait if timer is disabled. However, mwait/mwaitx cannot
let cpu core go to C1 state at current AMD processors, but has less
power consumption even at C0 while core is waiting.
As you know, mwait/mwaitx would have better performance than halt. So
could we propose an implementation to use mwaitx at idle call in boot
phase and cpuidle driver after boot phase. And the mwaitx idle is
exposed to user as an optional kernel parameter(idle=...), and decided
by user.

Any comments are warm for me :)

Thanks,
Rui

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-05-19  9:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-14  6:54 Mwait usage on AMD processors Huang Rui
2015-05-14  9:21 ` Borislav Petkov
2015-05-14 10:17   ` Huang Rui
2015-05-14 11:23     ` Borislav Petkov
2015-05-14 13:38       ` Huang Rui
2015-05-14 14:20         ` Borislav Petkov
2015-05-19  7:25           ` Huang Rui
2015-05-19  8:50             ` Borislav Petkov
2015-05-19  9:42               ` Huang Rui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).