M_TEMP trouble in 13.0-CURRENT #0 r355131M
Gary Jennejohn
gljennjohn at gmail.com
Thu Jan 9 12:26:01 UTC 2020
On Thu, 9 Jan 2020 12:58:28 +0100
Hans Petter Selasky <hps at selasky.org> wrote:
> Hi Jeff and Konstantin,
>
> You have a logical breakage after the domainset patches for malloc. The size used for allocation statistics is not the same like for freeing causing messed up "vmstat -m".
>
> Also you should audit the code for zero-sized allocations, because upon alloc, zero-sized is not counted, while on free it is.
>
> See attached patch.
>
Yeah, the patch produces much saner output.
--
Gary Jennejohn
More information about the freebsd-current
mailing list