Page MenuHomeFreeBSD

D2805.diff
No OneTemporary

D2805.diff

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

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)

Event Timeline