git: 9dbc47d79efe - stable/15 - vm_map_entry_delete(): fix the calculation of swap release
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jan 2026 00:32:26 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=9dbc47d79efed2ded49e723597176b60b0b15265
commit 9dbc47d79efed2ded49e723597176b60b0b15265
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-01-13 16:22:48 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-01-24 00:26:45 +0000
vm_map_entry_delete(): fix the calculation of swap release
(cherry picked from commit acb71820d68bd0dd98964240727e251bc62c92de)
---
sys/vm/vm_map.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 04628f44a497..b8295bb2108d 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -3997,7 +3997,7 @@ vm_map_entry_delete(vm_map_t map, vm_map_entry_t entry)
object->size = offidxstart;
if (object->cred != NULL) {
swap_release_by_cred(ptoa(oldsize -
- ptoa(object->size)), object->cred);
+ object->size), object->cred);
}
}
}