]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracing/core: fix early free of cpumasks
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 16 Mar 2009 00:45:03 +0000 (01:45 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 16 Mar 2009 08:13:18 +0000 (09:13 +0100)
commit2fc1dfbe17e7705c55b7a99da995fa565e26f151
tree8d7ecb57fdefdfac5bdff6ee3a82485e2ea4340a
parentac1d52d0b85854958c7e78c8006e39aadb6ce4b8
tracing/core: fix early free of cpumasks

Impact: fix crashes when tracing cpumasks

While ring-buffer allocation, the cpumasks are allocated too,
including the tracing cpumask and the per-cpu file mask handler.
But these cpumasks are freed accidentally just after.
Fix it.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1237164303-11476-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c