Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107135945
D47644.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
D47644.diff
View Options
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -608,7 +608,6 @@
void vm_page_advise(vm_page_t m, int advice);
vm_page_t vm_page_mpred(vm_object_t, vm_pindex_t);
vm_page_t vm_page_alloc(vm_object_t, vm_pindex_t, int);
-vm_page_t vm_page_alloc_after(vm_object_t, vm_pindex_t, int, vm_page_t);
vm_page_t vm_page_alloc_domain_after(vm_object_t, vm_pindex_t, int, int,
vm_page_t);
vm_page_t vm_page_alloc_contig(vm_object_t object, vm_pindex_t pindex, int req,
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -162,6 +162,8 @@
static uma_zone_t fakepg_zone;
+static vm_page_t vm_page_alloc_after(vm_object_t object, vm_pindex_t pindex,
+ int req, vm_page_t mpred);
static void vm_page_alloc_check(vm_page_t m);
static vm_page_t vm_page_alloc_nofree_domain(int domain, int req);
static bool _vm_page_busy_sleep(vm_object_t obj, vm_page_t m,
@@ -2085,7 +2087,7 @@
* the resident page in the object with largest index smaller than the given
* page index, or NULL if no such page exists.
*/
-vm_page_t
+static vm_page_t
vm_page_alloc_after(vm_object_t object, vm_pindex_t pindex,
int req, vm_page_t mpred)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 4:36 PM (7 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14690040
Default Alt Text
D47644.diff (1 KB)
Attached To
Mode
D47644: vm: static-ize vm_page_alloc_after()
Attached
Detach File
Event Timeline
Log In to Comment