Date: Wed, 23 Nov 2005 02:01:50 -0800 From: Colin Percival <cperciva@freebsd.org> To: Kris Kennaway <kris@obsecurity.org> Cc: current@FreeBSD.org, jhb@FreeBSD.org Subject: Re: idle task running on the wrong CPU Message-ID: <43843E0E.8040601@freebsd.org> In-Reply-To: <20051123090706.GA91223@xor.obsecurity.org> References: <20051123090334.GA90972@xor.obsecurity.org> <20051123090706.GA91223@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote: > It was pointed out that machdep.hyperthreading_allowed=1 fixes this > bug (it was set to 0). However, hyperthreading was already in use > (partly), because this machine has 2 physical CPUs with HTT, and CPUs > 0, 2 and 3 were running jobs. > > Looks like machdep.hyperthreading_allowed=0 does not work as intended. That's odd. Can you tell me what values the hyperthreading_cpus_mask and hyperthreading_cpus variables in mp_machdep.c have, and what values PCPU_GET(cpumask) returns on the various (virtual) cpus? Colin Percival
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43843E0E.8040601>