Bug#767295: [Xen-devel] [PATCH for-4.5 v2] libxc: don't leak buffer containing the uncompressed PV kernel

2014-11-24 Thread Ian Campbell
On Fri, 2014-11-21 at 15:25 -0500, Gedalya wrote: On 11/21/2014 06:12 AM, Ian Campbell wrote: On Fri, 2014-11-21 at 11:03 +, Ian Campbell wrote: http://man7.org/linux/man-pages/man3/mallopt.3.html also talks about various dynamic thresholds for growing and shrinking the heap. My guess

Bug#767295: [Xen-devel] [PATCH for-4.5 v2] libxc: don't leak buffer containing the uncompressed PV kernel

2014-11-24 Thread Gedalya
On 11/24/2014 05:37 AM, Ian Campbell wrote: Unfortunately this is down to the behaviour of the libc and not something which appears to be under application control. The following program demonstrates the same behaviour and is certainly not leaking anything. Notice that at Freed block at X.

Bug#767295: [Xen-devel] [PATCH for-4.5 v2] libxc: don't leak buffer containing the uncompressed PV kernel

2014-11-21 Thread Ian Campbell
On Fri, 2014-11-21 at 11:03 +, Ian Campbell wrote: http://man7.org/linux/man-pages/man3/mallopt.3.html also talks about various dynamic thresholds for growing and shrinking the heap. My guess is that we are bouncing up and down over some threshold with every other reboot. IOW I'm not

Bug#767295: [Xen-devel] [PATCH for-4.5 v2] libxc: don't leak buffer containing the uncompressed PV kernel

2014-11-21 Thread Gedalya
On 11/21/2014 06:12 AM, Ian Campbell wrote: On Fri, 2014-11-21 at 11:03 +, Ian Campbell wrote: http://man7.org/linux/man-pages/man3/mallopt.3.html also talks about various dynamic thresholds for growing and shrinking the heap. My guess is that we are bouncing up and down over some threshold