lkml.org 
[lkml]   [2006]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Wrong number of core_siblings in sysfs for Athlon64 X2
On 2/16/06, Andi Kleen <ak@suse.de> wrote:
> On Thursday 16 February 2006 22:46, Jesper Juhl wrote:
>
> > Obviously something is wrong, but I just can't seem to spot it. Any clues?
>
> It's a bitmap. 3 = 0b11
>

When I was reading the smpboot code my brain *was* actually in the
"this is a bitmap" mode, but when I then looked at the sysfs code it
for some reason switched to "this wants to just print the number of
siblings as an integer" mode - which was obviously where I went wrong.
If it's being treated as a bitmap when it's created why would that
change when it gets printed - D'OH!

Thank you very much for that hit with the clue stick Andi.

--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-16 23:10    [W:1.385 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site