Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132024106
D32037.id97017.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D32037.id97017.diff
View Options
Index: sys/vm/uma.h
===================================================================
--- sys/vm/uma.h
+++ sys/vm/uma.h
@@ -483,7 +483,8 @@
/*
* Reserves the maximum KVA space required by the zone and configures the zone
- * to use a VM_ALLOC_NOOBJ-based backend allocator.
+ * to use a backend that allocates physical memory and maps it using the
+ * reserved KVA.
*
* Arguments:
* zone The zone to update.
Index: sys/vm/uma_core.c
===================================================================
--- sys/vm/uma_core.c
+++ sys/vm/uma_core.c
@@ -2014,7 +2014,7 @@
}
/*
- * Allocates a number of pages from within an object
+ * Allocates a number of pages not belonging to a VM object
*
* Arguments:
* bytes The number of bytes requested
Index: sys/vm/vm_page.h
===================================================================
--- sys/vm/vm_page.h
+++ sys/vm/vm_page.h
@@ -542,9 +542,10 @@
#define VM_ALLOC_WIRED 0x0020 /* (acgnp) Allocate a wired page */
#define VM_ALLOC_ZERO 0x0040 /* (acgnp) Allocate a prezeroed page */
#define VM_ALLOC_NORECLAIM 0x0080 /* (c) Do not reclaim after failure */
-#define VM_ALLOC_NOOBJ 0x0100 /* (acg) No associated object */
+#define VM_ALLOC_AVAIL0 0x0100
#define VM_ALLOC_NOBUSY 0x0200 /* (acgp) Do not excl busy the page */
#define VM_ALLOC_NOCREAT 0x0400 /* (gp) Don't create a page */
+#define VM_ALLOC_AVAIL1 0x0800
#define VM_ALLOC_IGN_SBUSY 0x1000 /* (gp) Ignore shared busy flag */
#define VM_ALLOC_NODUMP 0x2000 /* (ag) don't include in dump */
#define VM_ALLOC_SBUSY 0x4000 /* (acgp) Shared busy the page */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 14, 1:12 AM (11 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23700064
Default Alt Text
D32037.id97017.diff (1 KB)
Attached To
Mode
D32037: Remove remaining references to VM_ALLOC_NOOBJ
Attached
Detach File
Event Timeline
Log In to Comment