[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Q about do_fork()



Hi
I was wondering. If you are on an SMP machine and two diffirent processes do
a fork() or a clone() system call at the same time, can the corresponding
kernel control paths enter the do_fork fuction in kernel/fork.c at the same
time or is one locked out while the other does his thing. I would be very
happy if someone could give me a hint.
Many, many thanks.

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/