Neale Ferguson wrote:
As part of the startup of CPUs in mp_startup, struct cpu entries are created
for CPUs (other than the boot cpu0). Each cpu area is zeroed and a call to
disp_cpu_init() is made. It in turn calls cpu_dispqalloc() ...
cpu_dispqalloc() is called fairly early in boot (main() => startup() =>
startup_modules() => dispinit() => disp_setup() => cpu_dispqalloc()),
and when a new scheduling class module is loaded. disp_cpu_init()
happens as part of slave CPU initialization, which is a separate code
path (main() => start_other_cpus() => start_cpu() => mp_startup_init()
=> disp_cpu_init())
-Eric
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code