diff options
author | Thomas Gleixner <[email protected]> | 2010-11-30 17:49:46 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-11-30 19:59:34 -0200 |
commit | 55b44629f599a2305265ae9c77f9d9bcfd6ddc17 (patch) | |
tree | 2f6f0cacdb78c09b7fc90152bf0e2b89a47ee0d3 /net/unix/af_unix.c | |
parent | d6513281c5f728d138ba895d600b9788e51508b1 (diff) |
perf session: Use sensible mmap size
On 64bit we can map the whole file in one go, on 32bit we can at least map
32MB and not map/unmap tiny chunks of the file.
Base the progress bar on 1/16 of the data size.
Preparatory patch to get rid of the malloc/memcpy/free of trace data.
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions