On Fri, Jun 12, 2015 at 03:50:33PM +0800, Huang Rui wrote: > Yeah, but I remembered at last time, someone tell me we shouldn't > force to set timer always enabled. So I add this interface to expose > more clearly. :)
Yeah, but this interface would make users go and look at it and try to remember what the enable parameter stood for. > So could I use __mwaitx directly like below: > > __monitorx(&dummy, 0, 0); > __mwaitx(0xf, delay, MWAITX_ECX_TIMER_ENABLE); Yes, this is more straight-forward and what the hardware instructions take, so more intuitive. Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/