Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153400640
D6669.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
815 B
Referenced Files
None
Subscribers
None
D6669.diff
View Options
Index: head/sys/vm/vm_page.c
===================================================================
--- head/sys/vm/vm_page.c
+++ head/sys/vm/vm_page.c
@@ -1112,8 +1112,6 @@
vm_page_insert_after(vm_page_t m, vm_object_t object, vm_pindex_t pindex,
vm_page_t mpred)
{
- vm_pindex_t sidx;
- vm_object_t sobj;
vm_page_t msucc;
VM_OBJECT_ASSERT_WLOCKED(object);
@@ -1134,8 +1132,6 @@
/*
* Record the object/offset pair in this page
*/
- sobj = m->object;
- sidx = m->pindex;
m->object = object;
m->pindex = pindex;
@@ -1143,8 +1139,8 @@
* Now link into the object's ordered list of backed pages.
*/
if (vm_radix_insert(&object->rtree, m)) {
- m->object = sobj;
- m->pindex = sidx;
+ m->object = NULL;
+ m->pindex = 0;
return (1);
}
vm_page_insert_radixdone(m, object, mpred);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 10:57 PM (9 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31830983
Default Alt Text
D6669.diff (815 B)
Attached To
Mode
D6669: Don't preserve the page object/pindex in vm_page_insert_after()
Attached
Detach File
Event Timeline
Log In to Comment