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/ia64 | |
parent | 74aaec43e84186bbf0c9e06274ec9c0a4fc21fff (diff) | |
download | src-1b1618fb125865af900298ff5d5a2c2bb77ecd34.tar.gz src-1b1618fb125865af900298ff5d5a2c2bb77ecd34.zip |
- Change comments and asserts to reflect the removal of the global
scheduler lock.
Tested by: kris, current@
Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc.
Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each)
Notes
Notes:
svn path=/head/; revision=170305
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/vm_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/ia64/vm_machdep.c b/sys/ia64/ia64/vm_machdep.c index 0bda88f699e0..40708c4ea8dc 100644 --- a/sys/ia64/ia64/vm_machdep.c +++ b/sys/ia64/ia64/vm_machdep.c @@ -159,7 +159,7 @@ cpu_set_upcall(struct thread *td, struct thread *td0) pcb->pcb_special.rp = FDESC_FUNC(fork_trampoline); cpu_set_fork_handler(td, (void (*)(void*))fork_return, td); - /* Setup to release sched_lock in fork_exit(). */ + /* Setup to release the spin count in fork_exit(). */ td->td_md.md_spinlock_count = 1; td->td_md.md_saved_intr = 1; } @@ -284,7 +284,7 @@ cpu_fork(struct thread *td1, struct proc *p2 __unused, struct thread *td2, td2->td_pcb->pcb_special.rp = FDESC_FUNC(fork_trampoline); cpu_set_fork_handler(td2, (void (*)(void*))fork_return, td2); - /* Setup to release sched_lock in fork_exit(). */ + /* Setup to release the spin count in fork_exit(). */ td2->td_md.md_spinlock_count = 1; td2->td_md.md_saved_intr = 1; } |