Re: M_TEMP trouble in 13.0-CURRENT #0 r355131M

From: Gary Jennejohn <gljennjohn_at_gmail.com>
Date: Thu, 9 Jan 2020 13:25:55 +0100
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
Received on Thu Jan 09 2020 - 11:26:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC