]> git.karo-electronics.de Git - mv-sheeva.git/commit
perfcounters: fix refcounting bug
authorMike Galbraith <efault@gmx.de>
Thu, 29 Jan 2009 13:06:52 +0000 (14:06 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 29 Jan 2009 13:25:23 +0000 (14:25 +0100)
commit65d370862f64973611a271ced61864b5f9bb6fc0
tree353d54eefd2f014e3b7ae79c572ad0a0493f2403
parentbb3f0b59ad005d2d2ecbbe9bd048eab6d1ecbd31
perfcounters: fix refcounting bug

don't kfree in use counters.

Running...

while true; do perfstat -e 1 -c true; done

...on all cores for a while doesn't seem to be eating ram, and my oops
is gone.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c