Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150371794
D12134.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
716 B
Referenced Files
None
Subscribers
None
D12134.id.diff
View Options
Index: head/sys/vm/vm_fault.c
===================================================================
--- head/sys/vm/vm_fault.c
+++ head/sys/vm/vm_fault.c
@@ -236,14 +236,15 @@
* written NOW so dirty it explicitly to save on
* pmap_is_modified() calls later.
*
- * Also tell the backing pager, if any, that it should remove
- * any swap backing since the page is now dirty.
+ * Also, since the page is now dirty, we can possibly tell
+ * the pager to release any swap backing the page. Calling
+ * the pager requires a write lock on the object.
*/
if (need_dirty)
vm_page_dirty(m);
if (!set_wd)
vm_page_unlock(m);
- if (need_dirty)
+ else if (need_dirty)
vm_pager_page_unswapped(m);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 1, 3:43 PM (17 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30681722
Default Alt Text
D12134.id.diff (716 B)
Attached To
Mode
D12134: Update vm object lock assertions in the swap pager
Attached
Detach File
Event Timeline
Log In to Comment