NetBSD/sys/compat/linux/common
thorpej e03e9e8086 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.
2000-05-28 05:48:59 +00:00
..
linux_break.c
linux_cdrom.c
linux_cdrom.h
linux_dirent.h
linux_emuldata.h
linux_errno.c
linux_errno.h
linux_exec.c
linux_exec.h
linux_exec_aout.c
linux_exec_elf32.c
linux_exec_elf64.c
linux_fcntl.h
linux_file.c
linux_ioctl.c
linux_ioctl.h
linux_ipc.c
linux_ipc.h
linux_ipccall.c
linux_ipccall.h
linux_llseek.c
linux_machdep.h
linux_misc.c
linux_misc.h
linux_misc_notalpha.c
linux_mmap.h
linux_msg.h
linux_oldmmap.c
linux_oldmmap.h
linux_oldolduname.c
linux_oldolduname.h
linux_oldselect.c
linux_oldselect.h
linux_olduname.c
linux_olduname.h
linux_pipe.c
linux_ptrace.h
linux_reboot.h
linux_sched.c
linux_sched.h
linux_sem.h
linux_shm.h
linux_sig_notalpha.c
linux_sigaction.c
linux_siginfo.h
linux_signal.c
linux_signal.h
linux_socket.c
linux_socket.h
linux_socketcall.c
linux_socketcall.h
linux_sockio.h
linux_termios.c
linux_termios.h
linux_types.h
linux_util.h