git: x86_64/mwait: Request proper intr cputimer, if C3+ is used as hint

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Feb 1 06:25:18 PST 2014


commit 271a328646fb01bf1f9092c0808f99d37369395b
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Feb 1 22:11:53 2014 +0800

    x86_64/mwait: Request proper intr cputimer, if C3+ is used as hint
    
    Though mwait's hint uses CPU specific C-state, we still believe that
    C3+ hints are deep C-states, which may cause certain type of intr
    cputimer hang (e.g. LAPIC intr cputimer on CPUs w/o ARAT).
    
    While I'm here, make sure that mwait hint could not be changed on CPUs
    that do not support monitor/mwait or mwait hint.

Summary of changes:
 sys/platform/pc64/x86_64/machdep.c | 40 +++++++++++++++++++++++++++++++++-----
 1 file changed, 35 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/271a328646fb01bf1f9092c0808f99d37369395b


-- 
DragonFly BSD source repository



More information about the Commits mailing list