From: Peter Zijlstra Date: Thu, 17 Sep 2009 17:01:10 +0000 (+0200) Subject: perf_counter: Allow for a wakeup watermark X-Git-Tag: v2.6.32-rc1~628^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2667de81f3256c944b06abdf2c56c2f192fcb724;p=pandora-kernel.git perf_counter: Allow for a wakeup watermark Currently we wake the mmap() consumer once every PAGE_SIZE of data and/or once event wakeup_events when specified. For high speed sampling this results in too many wakeups wrt. the buffer size, hence change this. We move the default wakeup limit to 1/4-th the buffer size, and provide for means to manually specify this limit. Signed-off-by: Peter Zijlstra LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed