e03e9e8086
doing a cpu_set_kpc(), just pass the entry point and argument all the way down the fork path starting with fork1(). In order to avoid special-casing the normal fork in every cpu_fork(), MI code passes down child_return() and the child process pointer explicitly. This fixes a race condition on multiprocessor systems; a CPU could grab the newly created processes (which has been placed on a run queue) before cpu_set_kpc() would be performed. |
||
---|---|---|
.. | ||
Makefile | ||
pglist.h | ||
pmap.h | ||
vm_extern.h | ||
vm_inherit.h | ||
vm_kern.h | ||
vm_map.h | ||
vm_object.h | ||
vm_page.h | ||
vm_pageout.h | ||
vm_pager.h | ||
vm_param.h | ||
vm_prot.h | ||
vm.h |