diff options
author | alc <alc@FreeBSD.org> | 2008-12-31 05:44:05 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2008-12-31 05:44:05 +0000 |
commit | 81e94e0a4cee9cc0ea62e524b851b34797ce7d21 (patch) | |
tree | 5a3c65be12cf8416332f628d77d33555511df495 /sys/vm/vm_map.h | |
parent | 4136fd8892ca54d170af7f05f2235320a92cf4bf (diff) | |
download | FreeBSD-src-81e94e0a4cee9cc0ea62e524b851b34797ce7d21.zip FreeBSD-src-81e94e0a4cee9cc0ea62e524b851b34797ce7d21.tar.gz |
Update or eliminate some stale comments.
Diffstat (limited to 'sys/vm/vm_map.h')
-rw-r--r-- | sys/vm/vm_map.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h index bc2ae43..3671ea0 100644 --- a/sys/vm/vm_map.h +++ b/sys/vm/vm_map.h @@ -109,7 +109,6 @@ struct vm_map_entry { union vm_map_object object; /* object I point to */ vm_ooffset_t offset; /* offset into object */ vm_eflags_t eflags; /* map entry flags */ - /* Only in task maps: */ vm_prot_t protection; /* protection code */ vm_prot_t max_protection; /* maximum protection */ vm_inherit_t inheritance; /* inheritance */ @@ -168,13 +167,6 @@ vm_map_entry_system_wired_count(vm_map_entry_t entry) * Tarjan's top-down splay algorithm is employed to control * height imbalance in the binary search tree. * - * Note: the lock structure cannot be the first element of vm_map - * because this can result in a running lockup between two or more - * system processes trying to kmem_alloc_wait() due to kmem_alloc_wait() - * and free tsleep/waking up 'map' and the underlying lockmgr also - * sleeping and waking up on 'map'. The lockup occurs when the map fills - * up. The 'exec' map, for example. - * * List of locks * (c) const until freed */ @@ -186,7 +178,7 @@ struct vm_map { vm_size_t size; /* virtual size */ u_int timestamp; /* Version number */ u_char needs_wakeup; - u_char system_map; /* Am I a system map? */ + u_char system_map; /* (c) Am I a system map? */ vm_flags_t flags; /* flags for this vm_map */ vm_map_entry_t root; /* Root of a binary search tree */ pmap_t pmap; /* (c) Physical map */ |