Hi,
I have been reading the kernel sources. The vm_map struct at the /usr/src/sys/vm/vm_map.h file, contained this line:
Why timestamp commented as version number?
I have been reading the kernel sources. The vm_map struct at the /usr/src/sys/vm/vm_map.h file, contained this line:
C:
struct vm_map {
struct vm_map_entry header; /* List of entries */
struct sx lock; /* Lock for map data */
struct mtx system_mtx;
int nentries; /* Number of entries */
vm_size_t size; /* virtual size */
u_int timestamp; /* ==================> Version number <==================== */
u_char needs_wakeup;
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 */
vm_offset_t anon_loc;
int busy;
#ifdef DIAGNOSTIC
int nupdates;
#endif
};