diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2013-05-23 18:21:36 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@rostedt.homelinux.com> | 2013-05-28 14:53:20 (GMT) |
commit | 6721cb60022629ae76365551f05d9658b8d14c55 (patch) | |
tree | 00d16ebb628161995b02939460d3f7b8d0f5ac53 /virt/kvm/ioapic.h | |
parent | ca1643186d3dce6171d8f171e516b02496360a9e (diff) | |
download | linux-fsl-qoriq-6721cb60022629ae76365551f05d9658b8d14c55.tar.xz |
ring-buffer: Do not poll non allocated cpu buffers
The tracing infrastructure sets up for possible CPUs, but it uses
the ring buffer polling, it is possible to call the ring buffer
polling code with a CPU that hasn't been allocated. This will cause
a kernel oops when it access a ring buffer cpu buffer that is part
of the possible cpus but hasn't been allocated yet as the CPU has never
been online.
Reported-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'virt/kvm/ioapic.h')
0 files changed, 0 insertions, 0 deletions