Re: M_TEMP trouble in 13.0-CURRENT #0 r355131M

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Thu, 9 Jan 2020 12:58:28 +0100
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.

--HPS

Received on Thu Jan 09 2020 - 10:59:12 UTC

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