diff options
author | dyson <dyson@FreeBSD.org> | 1998-04-29 04:28:22 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1998-04-29 04:28:22 +0000 |
commit | b5a79794cdadebe1ac863e5b8bde8d4b86cb8a5e (patch) | |
tree | e81f03d1aec7ca81483ab31e8815b8289c35be97 /sys/vm/vm_object.h | |
parent | 67c7bb9c04ed76649b6be0484dcfaa84fa554bcd (diff) | |
download | FreeBSD-src-b5a79794cdadebe1ac863e5b8bde8d4b86cb8a5e.zip FreeBSD-src-b5a79794cdadebe1ac863e5b8bde8d4b86cb8a5e.tar.gz |
Tighten up management of memory and swap space during map allocation,
deallocation cycles. This should provide a measurable improvement
on swap and memory allocation on loaded systems. It is unlikely a
complete solution. Also, provide more map info with procfs.
Chuck Cranor spurred on this improvement.
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r-- | sys/vm/vm_object.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index 5d83269..cc9c6bc 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_object.h,v 1.46 1998/02/25 03:55:52 dyson Exp $ + * $Id: vm_object.h,v 1.47 1998/03/07 21:37:09 dyson Exp $ */ /* @@ -93,6 +93,7 @@ struct vm_object { int ref_count; /* How many refs?? */ int shadow_count; /* how many objects that this is a shadow for */ int pg_color; /* color of first page in obj */ + int id; /* ID for no purpose, other than info */ u_short flags; /* see below */ u_short paging_in_progress; /* Paging (in or out) so don't collapse or destroy */ u_short behavior; /* see below */ @@ -132,6 +133,7 @@ struct vm_object { #define OBJ_MIGHTBEDIRTY 0x0100 /* object might be dirty */ #define OBJ_CLEANING 0x0200 #define OBJ_OPT 0x1000 /* I/O optimization */ +#define OBJ_ONEMAPPING 0x2000 /* One USE (a single, non-forked) mapping flag */ #define OBJ_NORMAL 0x0 /* default behavior */ #define OBJ_SEQUENTIAL 0x1 /* expect sequential accesses */ |