Re: Possible bug in 2.6.34 slub

From: Bill Davidsen
Date: Mon May 31 2010 - 23:22:48 EST


Randy Dunlap wrote:
On Tue, 1 Jun 2010 01:39:43 +0200 Giangiacomo Mariotti wrote:

Hi, I've recently noticed this line on the dmesg output(kernel 2.6.34):
[ 0.000000] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0,
CPUs=16, Nodes=1

My cpu is an I7 920, so it has 4 cores and there's hyperthreading
enabled, so there are 8 logical cpus. Is this a bug?


No, it's just some boot/init time information.

I would consider it a bug to claim CPUs=xx when xx is something other than the number of cores or the number of SMT threads supported by the processor. Of course if /proc/cpuinfo shows four siblings per core or something exciting, then it's right and you have a CPU you can sell to gizmodo and tell them a drunk left on the bar.

--
Bill Davidsen <davidsen@xxxxxxx>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/