diff options
| author | Lai Jiangshan <[email protected]> | 2009-11-03 11:42:45 +0000 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2009-11-04 05:04:20 +0000 |
| commit | f7112949f6a4cd6883d66c882d568c2197321de6 (patch) | |
| tree | 2982044acfce5f1e422be2fd7467d2f1177c5159 /fs/proc/array.c | |
| parent | tracing: Remove cpu arg from the rb_time_stamp() function (diff) | |
| download | kernel-f7112949f6a4cd6883d66c882d568c2197321de6.tar.gz kernel-f7112949f6a4cd6883d66c882d568c2197321de6.zip | |
ring-buffer: Synchronize resizing buffer with reader lock
We got a sudden panic when we reduced the size of the
ringbuffer.
We can reproduce the panic by the following steps:
echo 1 > events/sched/enable
cat trace_pipe > /dev/null &
while ((1))
do
echo 12000 > buffer_size_kb
echo 512 > buffer_size_kb
done
(not more than 5 seconds, panic ...)
Reported-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Lai Jiangshan <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
