Re: Wrong number of core_siblings in sysfs for Athlon64 X2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/16/06, Andi Kleen <[email protected]> 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 <[email protected]>
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux