Messages in this thread | | | Date | Thu, 16 Feb 2006 23:08:12 +0100 | From | Jesper Juhl <> | Subject | Re: 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/
| |