git: f1aaef47a01a - main - swap_pager: update meta_free comment

From: Doug Moore <dougm_at_FreeBSD.org>
Date: Mon, 23 Sep 2024 18:28:58 UTC
The branch main has been updated by dougm:

URL: https://cgit.FreeBSD.org/src/commit/?id=f1aaef47a01ad2b690ea251a42cbff99511459cf

commit f1aaef47a01ad2b690ea251a42cbff99511459cf
Author:     Doug Moore <dougm@FreeBSD.org>
AuthorDate: 2024-09-23 18:27:54 +0000
Commit:     Doug Moore <dougm@FreeBSD.org>
CommitDate: 2024-09-23 18:27:54 +0000

    swap_pager: update meta_free comment
    
    Clarify the comment that introduces swp_page_meta_free.
    
    Reviewed by:    markj, alc
    Differential Revision:  https://reviews.freebsd.org/D46754
---
 sys/vm/swap_pager.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c
index 954228dfaaf0..aa0297daefe9 100644
--- a/sys/vm/swap_pager.c
+++ b/sys/vm/swap_pager.c
@@ -2264,12 +2264,9 @@ swp_pager_meta_transfer(vm_object_t srcobject, vm_object_t dstobject,
 /*
  * 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,