Starting APs earlier during boot

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Feb 17 09:45:53 UTC 2016


--------
In message <20160217094241.GF91220 at kib.kiev.ua>, Konstantin Belousov writes:

>E.g. there might be no interrupts set up yet, and idle thread on UP
>gets on CPU, then the whole boot process could deadlock.

idle_thread:

	while (!interrupts_setup_done())
		yield();

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list