Page MenuHomeFreeBSD

D46754.diff
No OneTemporary

D46754.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
@@ -2264,12 +2264,9 @@
/*
* SWP_PAGER_META_FREE() - free a range of blocks in the object's swap metadata
*
- * The requested range of blocks is freed, with any associated swap
- * returned to the swap bitmap.
- *
- * This routine will free swap metadata structures as they are cleaned
- * out. This routine does *NOT* operate on swap metadata associated
- * with resident pages.
+ * Return freed swap blocks to the swap bitmap, and free emptied swblk
+ * metadata. With 'freed' set, provide a count of freed blocks that were
+ * not associated with valid resident pages.
*/
static void
swp_pager_meta_free(vm_object_t object, vm_pindex_t pindex, vm_pindex_t count,

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 10, 7:24 PM (6 h, 26 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15745613
Default Alt Text
D46754.diff (784 B)

Event Timeline