[#] http://marc.info/?l=openbsd-cvs&m=140639088107843&w=2
openbsd-cvs(obsdave,2) — All
2014-07-27 09:43:58


CVSROOT: /cvs
Module name: src
Changes by: kettenis@cvs.openbsd.org 2014/07/26 10:07:39

Modified files:
sys/kern : kern_sched.c

Log message:
If we're stopping a secondary cpu, don't let sched_choosecpu() short-circuit
and return the current current CPU, otherwise sched_stop_secondary_cpus()
will spin forever trying to empty its run queues. Fixes hangs during suspend
that many people reported over the last couple of days.

ok bcook@, guenther@