[Bug 219882] [SMP][patch] 11.1-PRERELEASE panics at CPU detection on a single CPU i386 machine

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 13 16:13:24 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219882

--- Comment #3 from John Baldwin <jhb at FreeBSD.org> ---
Created attachment 183451
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=183451&action=edit
noassign_on_up.patch

Please try this patch instead.  In the !EARLY_AP_STARTUP case, the 'assign_cpu'
variable is never set on a UP system, so it results in never trying to assign
CPUs.  This patch restores that by checking for an SMP system explicitly before
trying to assign a CPU.  I think the panic in the atpic method is still a good
canary for ensuring the calling code is doing the right thing.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list