Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Match locking notes with reality.
details: https://anonhg.NetBSD.org/src/rev/fd3ff22edec4
branches: trunk
changeset: 358168:fd3ff22edec4
user: maya <maya%NetBSD.org@localhost>
date: Fri Dec 15 16:03:29 2017 +0000
description:
Match locking notes with reality.
misc_lock is used to protect vm_refcnt.
ok chuq
diffstat:
sys/uvm/uvm_extern.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9b8880f60e28 -r fd3ff22edec4 sys/uvm/uvm_extern.h
--- a/sys/uvm/uvm_extern.h Fri Dec 15 11:49:32 2017 +0000
+++ b/sys/uvm/uvm_extern.h Fri Dec 15 16:03:29 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_extern.h,v 1.207 2017/12/02 08:15:43 mrg Exp $ */
+/* $NetBSD: uvm_extern.h,v 1.208 2017/12/15 16:03:29 maya Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -552,7 +552,7 @@
struct vmspace {
struct vm_map vm_map; /* VM address map */
int vm_refcnt; /* number of references *
- * note: protected by vm_map.ref_lock */
+ * note: protected by vm_map.misc_lock */
void * vm_shm; /* SYS5 shared memory private data XXX */
/* we copy from vm_startcopy to the end of the structure on fork */
#define vm_startcopy vm_rssize
Home |
Main Index |
Thread Index |
Old Index