diff options
author | 2009-09-17 19:01:10 +0200 | |
---|---|---|
committer | 2009-09-17 22:08:26 +0200 | |
commit | 2667de81f3256c944b06abdf2c56c2f192fcb724 (patch) | |
tree | d642156cfe0c52d2fb7ec1de4a2060018c8e3f8d /net/ipv4/tcp_timer.c | |
parent | perf_counter: Do not throttle single swcounter events (diff) | |
download | linux-dev-2667de81f3256c944b06abdf2c56c2f192fcb724.tar.xz linux-dev-2667de81f3256c944b06abdf2c56c2f192fcb724.zip |
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 <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions