aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/amd64/vm_machdep.c
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2007-06-04 23:57:32 +0000
committerJeff Roberson <jeff@FreeBSD.org>2007-06-04 23:57:32 +0000
commit1b1618fb125865af900298ff5d5a2c2bb77ecd34 (patch)
tree94504cdd93e5f8b4e5d7be07bb2a3b46cb6f87ac /sys/amd64/amd64/vm_machdep.c
parent74aaec43e84186bbf0c9e06274ec9c0a4fc21fff (diff)
downloadsrc-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/amd64/amd64/vm_machdep.c')
-rw-r--r--sys/amd64/amd64/vm_machdep.c4
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;
}