The NetBSD Project

CVS log for src/sys/arch/pc532/pc532/Attic/vm_machdep.c

[BACK] Up to [] / src / sys / arch / pc532 / pc532

Request diff between arbitrary revisions

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

Revision 1.42 / (download) - annotate - [select for diffs], Sun May 28 05:49:03 2000 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.41: +9 -33 lines
Diff to previous 1.41 (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 <>