HomeFreeBSD

Reset kvo_laundry to prevent it being cumulative

Description

Reset kvo_laundry to prevent it being cumulative

sysctl vm.objects, used by vmstat -o was not resetting the
laundry counter to 0 inside the loop, causing it to show the sum of
the laundry count for all previous objects instead of only the laundry
count for the current object.

Fixes: a86373bc93ee1c850943e8585d0d426479378145
Reviewed by: markj
Sponsored by: Klara, Inc.
Sponsored by: Modirum MDPay
Differential Revision: https://reviews.freebsd.org/D50907

Details

Provenance
allanjudeAuthored on Jun 25 2025, 1:38 PM
Reviewer
markj
Differential Revision
D50907: Reset kvo_laundry to prevent it being cumulative
Parents
rG3ef39f58e5d6: amd64/conf: Remove a config committed by accident
Branches
Unknown
Tags
Unknown