summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2003-02-15 19:38:23 +0000
committeralc <alc@FreeBSD.org>2003-02-15 19:38:23 +0000
commit11334c6aebf5a4535ef21a7e30eb5c258c4bc77a (patch)
tree56f9e28cc6ee42ae55bf96522baf0f4c8c331731 /sys/vm
parent91e02c65157e1676268fc886ffac60bd69764f16 (diff)
downloadFreeBSD-src-11334c6aebf5a4535ef21a7e30eb5c258c4bc77a.zip
FreeBSD-src-11334c6aebf5a4535ef21a7e30eb5c258c4bc77a.tar.gz
Move kernel_vm_end's declaration to pmap.h; add a comment regarding the
synchronization of access to kernel_vm_end.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/pmap.h5
-rw-r--r--sys/vm/vm_kern.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h
index 38bde18..20a5bd3 100644
--- a/sys/vm/pmap.h
+++ b/sys/vm/pmap.h
@@ -89,6 +89,11 @@ typedef struct pmap_statistics *pmap_statistics_t;
struct proc;
struct thread;
+/*
+ * Updates to kernel_vm_end are synchronized by the kernel_map's system mutex.
+ */
+extern vm_offset_t kernel_vm_end;
+
extern int pmap_pagedaemon_waken;
#ifdef __alpha__
diff --git a/sys/vm/vm_kern.h b/sys/vm/vm_kern.h
index c347ca3..d8d8aac 100644
--- a/sys/vm/vm_kern.h
+++ b/sys/vm/vm_kern.h
@@ -75,6 +75,4 @@ extern vm_map_t clean_map;
extern vm_map_t exec_map;
extern u_int vm_kmem_size;
-extern vm_offset_t kernel_vm_end;
-
#endif /* _VM_VM_KERN_H_ */
OpenPOWER on IntegriCloud