]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tracing/uprobes: Fix uprobe_cpu_buffer memory leak
authorzhangwei(Jovi) <jovi.zhangwei@huawei.com>
Thu, 17 Apr 2014 08:05:19 +0000 (16:05 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 17 Apr 2014 14:44:42 +0000 (10:44 -0400)
commit6ea6215fe394e320468589d9bba464a48f6d823a
tree29c2c207b7fbba870b61708e7c717acadd4dbbb2
parent5d6c97c55984b3b991400692f9e8568a702b93c0
tracing/uprobes: Fix uprobe_cpu_buffer memory leak

Forgot to free uprobe_cpu_buffer percpu page in uprobe_buffer_disable().

Link: http://lkml.kernel.org/p/534F8B3F.1090407@huawei.com
Cc: stable@vger.kernel.org # v3.14+
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_uprobe.c