lkml.org 
[lkml]   [2011]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: perf: kernel memory leak when inherit enabled
On Mon, 14 Mar 2011, Arnaldo Carvalho de Melo wrote:

> Em Mon, Mar 14, 2011 at 06:27:19PM -0400, Vince Weaver escreveu:
> > On Fri, 11 Mar 2011, Vince Weaver wrote:
> > >
> > > While trying to use perf events with inherit enabled to profile some
> > > multi-threaded BLAS routines (using PAPI) I ended up out-of-memorying my
> > > machine. It turns out you can quickly leak gigabytes of kernel memory
> > > that isn't freed when the process exits.
> >
> > I've bisected this. There's a whole day I'll never see again. binutils
> > 2.21 and gcc-4.5 for the lose :(
> >
> > Anyway this memory leak with inherit was introduced in
> > 4fd38e4595e
>
>
> commit 4fd38e4595e2f6c9d27732c042a0e16b2753049c
> Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Date: Thu May 6 17:31:38 2010 +0200
>
> perf: Fix exit() vs PERF_FORMAT_GROUP

This changeset was reverted already in
e3174cfd2a1e28fff774681f00a0eef3d31da970
yet somehow that didn't fix the inherit mem-leak.

Vince
vweaver1@eecs.utk.edu


\
 
 \ /
  Last update: 2011-03-15 01:31    [W:0.076 / U:0.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site