Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2011 14:35:30 +0100
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        "Steven Hartland" <killing@multiplay.co.uk>
Cc:        freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: machdep.hlt_cpus not safe with ULE?
Message-ID:  <20110219143530.45d0f958@ernst.jennejohn.org>
In-Reply-To: <8332E9240ECA403480B48D21FA3A8694@multiplay.co.uk>
References:  <8332E9240ECA403480B48D21FA3A8694@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 19 Feb 2011 12:36:57 -0000
"Steven Hartland" <killing@multiplay.co.uk> wrote:

> I'm trying to debug a possibly failing CPU, so I thought it would
> be easy just disable the cores using machdep.hlt_cpus and see if
> we see the panic's we've been seeing.
> 
> The problem is it seems ULE doesnt properly support machdep.hlt_cpus
> and still schedules processes onto the halted cpus which obviously
> causes problems.
> 
> Can anyone confirm this behaviour? Should machdep.hlt_cpus and I assume
> the logical counterpart never be used with ULE?
> 

Looking at the kernel source it appears that only sched_4bsd.c makes use
of hlt_cpus_mask.

-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110219143530.45d0f958>