aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-12-30 16:00:35 +0100
committerIngo Molnar <mingo@elte.hu>2009-12-31 13:11:31 +0100
commit05cbaa2853cdfc255fdd04e65a82bfe9208c4e52 (patch)
tree83a6b8ea45fe181e623aa6c532cb9176400199de /arch/x86
parentperf: Pass appropriate frame pointer to dump_trace() (diff)
downloadlinux-dev-05cbaa2853cdfc255fdd04e65a82bfe9208c4e52.tar.xz
linux-dev-05cbaa2853cdfc255fdd04e65a82bfe9208c4e52.zip
perf: Fix NULL deref in inheritance code
Liming found a NULL deref when a task has a perf context but no counters when it forks. This can occur in two cases, a race during construction where the fork hits after installing the context but before the first counter gets inserted, or more reproducably, a fork after the last counter is closed (which leaves the context around). Reported-by: Wang Liming <liming.wang@windriver.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Paul Mackerras <paulus@samba.org> CC: <stable@kernel.org> LKML-Reference: <1262185684.7135.222.camel@laptop> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions