machdep.hlt_cpus not safe with ULE?

Garrett Cooper gcooper at FreeBSD.org
Mon Feb 21 20:47:45 UTC 2011


On Mon, Feb 21, 2011 at 12:30 PM, Steven Hartland
<killing at multiplay.co.uk> wrote:
> ----- Original Message ----- From: "Garrett Cooper" <gcooper at FreeBSD.org>
>>
>>   As a followup to this and based on discussions with other folks,
>> the fact that it's using hlt to halt CPUs without rescheduling tasks /
>> masking interrupts, etc is not good. So none of the *hlt* sysctls are
>> really doing the right thing on x86.
>
> Time to disable them until they are fixed properly then I would suggest?

    Andriy's patch attached to the PR above does the right thing when
first bringing up the system, but it's still broken with the sysctl
case, so I would actually vote to disable the sysctls for now and
commit his patch separately as it's better than the existing code is
in that area.
Thanks!
-Garrett


More information about the freebsd-stable mailing list