Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137062403
D2805.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
531 B
Referenced Files
None
Subscribers
None
D2805.diff
View Options
Index: head/sys/vm/vm_pageout.c
===================================================================
--- head/sys/vm/vm_pageout.c
+++ head/sys/vm/vm_pageout.c
@@ -1233,10 +1233,10 @@
--page_shortage;
} else if (m->dirty == 0) {
/*
- * Clean pages can be placed onto the cache queue.
- * This effectively frees them.
+ * Clean pages can be freed.
*/
- vm_page_cache(m);
+ vm_page_free(m);
+ PCPU_INC(cnt.v_dfree);
--page_shortage;
} else if ((m->flags & PG_WINATCFLS) == 0 && pass < 2) {
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 22, 1:57 AM (11 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25868556
Default Alt Text
D2805.diff (531 B)
Attached To
Mode
D2805: Free rather than cache pages in vm_pageout_scan().
Attached
Detach File
Event Timeline
Log In to Comment