diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2007-06-04 23:57:32 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2007-06-04 23:57:32 +0000 |
| commit | 1b1618fb125865af900298ff5d5a2c2bb77ecd34 (patch) | |
| tree | 94504cdd93e5f8b4e5d7be07bb2a3b46cb6f87ac /sys/amd64 | |
| parent | 74aaec43e84186bbf0c9e06274ec9c0a4fc21fff (diff) | |
Notes
Diffstat (limited to 'sys/amd64')
| -rw-r--r-- | sys/amd64/amd64/vm_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index ad256b47815c..c3c5283c86a9 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -170,7 +170,7 @@ cpu_fork(td1, p2, td2, flags) * pcb2->pcb_[fg]sbase: cloned above */ - /* Setup to release sched_lock in fork_exit(). */ + /* Setup to release spin count in fork_exit(). */ td2->td_md.md_spinlock_count = 1; td2->td_md.md_saved_flags = PSL_KERNEL | PSL_I; @@ -304,7 +304,7 @@ cpu_set_upcall(struct thread *td, struct thread *td0) * pcb2->pcb_[fg]sbase: cloned above */ - /* Setup to release sched_lock in fork_exit(). */ + /* Setup to release spin count in fork_exit(). */ td->td_md.md_spinlock_count = 1; td->td_md.md_saved_flags = PSL_KERNEL | PSL_I; } |
