[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150514065451.GA29830@hr-slim.amd.com>
Date: Thu, 14 May 2015 14:54:52 +0800
From: Huang Rui <ray.huang@....com>
To: Len Brown <lenb@...nel.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>
CC: <linux-kernel@...r.kernel.org>,
Fengguang Wu <fengguang.wu@...el.com>,
Aaron Lu <aaron.lu@...el.com>, Tony Li <tony.li@....com>
Subject: Mwait usage on AMD processors
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists