diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-05-28 14:45:33 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-05-28 14:49:27 +0200 |
commit | 64565911cdb57c2f512a9715b985b5617402cc67 (patch) | |
tree | 1c8a3d03fcb0e620c8f2244962fb249cff51fec4 /mm/pagewalk.c | |
parent | 4722dc52a891ab6cb2d637ddb87233e0ce277827 (diff) |
block: make blktrace use per-cpu buffers for message notes
Currently it uses a single static char array, but that risks
being corrupted when multiple users issue message notes at the
same time. Make the buffers dynamically allocated when the trace
is setup and make them per-cpu instead.
The default max message size of 1k is also very large, the
interface is mainly for small text notes. So shrink it to 128 bytes.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'mm/pagewalk.c')
0 files changed, 0 insertions, 0 deletions