From: Thomas Gleixner Date: Tue, 30 Nov 2010 17:49:46 +0000 (+0000) Subject: perf session: Use sensible mmap size X-Git-Tag: v2.6.38-rc1~490^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55b44629f599a2305265ae9c77f9d9bcfd6ddc17;p=pandora-kernel.git 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 Cc: Peter Zijlstra Cc: Frederic Weisbecker LKML-Reference: <20101130163820.213687773@linutronix.de> Signed-off-by: Thomas Gleixner Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed