diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-10-03 03:18:09 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 12:39:15 +0400 |
commit | aa1e0e3bcf95ce684d005bedb16e5d4559455685 (patch) | |
tree | 579416746452a880ca42de6c2885419e49a44e45 /kernel/trace/trace_irqsoff.c | |
parent | eb7fa935274bb233686fdf7a53f40c5d9ee76ed6 (diff) | |
download | linux-aa1e0e3bcf95ce684d005bedb16e5d4559455685.tar.xz |
ring_buffer: map to cpu not page
My original patch had a compile bug when NUMA was configured. I
referenced cpu when it should have been cpu_buffer->cpu.
Ingo quickly fixed this bug by replacing cpu with 'i' because that
was the loop counter. Unfortunately, the 'i' was the counter of
pages, not CPUs. This caused a crash when the number of pages allocated
for the buffers exceeded the number of pages, which would usually
be the case.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_irqsoff.c')
0 files changed, 0 insertions, 0 deletions