Page MenuHomeFreeBSD

D44646.diff
No OneTemporary

D44646.diff

diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c
--- a/sys/vm/swap_pager.c
+++ b/sys/vm/swap_pager.c
@@ -1683,6 +1683,9 @@
* getpages so don't play cute tricks here.
*/
vm_page_invalid(m);
+ if (i < bp->b_pgbefore ||
+ i >= bp->b_npages - bp->b_pgafter)
+ vm_page_free_invalid(m);
} else {
/*
* If a write error occurs, reactivate page

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 7:36 PM (21 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14663568
Default Alt Text
D44646.diff (389 B)

Event Timeline