The NetBSD Project

CVS log for src/sys/arch/sh3/sh3/vm_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / sh3 / sh3

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-1-5-ALPHA2


Revision 1.9 / (download) - annotate - [select for diffs], Sun May 28 05:49:03 2000 UTC (20 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.8: +9 -24 lines
Diff to previous 1.8 (colored)

Rather than starting init and creating kthreads by forking and then
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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>