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
This commit is contained in:
Konstantin Belousov 2016-08-03 07:10:09 +00:00
parent e938ebbc0c
commit e69ba32f88

View File

@ -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)