diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2016-08-03 07:10:09 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2016-08-03 07:10:09 +0000 |
commit | e69ba32f88bbd7274e570d71b9936ecf0f499785 (patch) | |
tree | cb325a61380f075f498c2a5e56a324a80e5bc476 | |
parent | e938ebbc0c51ac4958114a1cc073575164304794 (diff) | |
download | src-e69ba32f88bbd7274e570d71b9936ecf0f499785.tar.gz src-e69ba32f88bbd7274e570d71b9936ecf0f499785.zip |
Remove mention of the Giant from the fork_return() description.
Making emphasis on this lock in the core function comment is confusing
for the modern kernel.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=303702
-rw-r--r-- | sys/kern/kern_fork.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 4c21c0ba20d5..908f23fd5701 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -1055,9 +1055,9 @@ fork_exit(void (*callout)(void *, struct trapframe *), void *arg, /* * Simplified back end of syscall(), used when returning from fork() - * directly into user mode. Giant is not held on entry, and must not - * be held on return. This function is passed in to fork_exit() as the - * first parameter and is called when returning to a new userland process. + * directly into user mode. This function is passed in to fork_exit() + * as the first parameter and is called when returning to a new + * userland process. */ void fork_return(struct thread *td, struct trapframe *frame) |