[lkml]   [2008]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Bug #10710] [BISECTED] Lots of "rescheduling IPIs" in powertop
Thomas Gleixner wrote:

> stop these pointless ad hominem attacks!

Just my experience from past incidents sorry. I'm sure it never happened
to you.

>> [In case someone is interested it's CPUID 5 ECX bit 0 which enumerates
>> if the MWAIT enumeration is there. So the correct mwait_usable() that
>> would have avoided your problem would be something like (untested):
>> return c->cpuid_level >= 5 &&
>> ((cpuid_ecx(5) & 1) == 0 || (cpuid_edx(5) >> 4) & 0xf) > 0);
>> ]
> I'm interested, but I'd be even more interested in some useful pointer
> to the magic bitnumbers in that check, but don't exert yourself in
> providing the information,

It's documented in the IA32 SDM vol2 as part of the CPUID description.
It's a reasonable expection that everyone hacking on cpuid code has that
at hand.


 \ /
  Last update: 2008-05-18 22:33    [W:0.132 / U:1.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site