lkml.org 
[lkml]   [2009]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:perfcounters/core] perf_counter: Fix up swcounter throttling
Commit-ID:  cf450a7355a116af793998c118a6bcf7f5a8367e
Gitweb: http://git.kernel.org/tip/cf450a7355a116af793998c118a6bcf7f5a8367e
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Fri, 18 Sep 2009 12:18:14 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 18 Sep 2009 20:43:22 +0200

perf_counter: Fix up swcounter throttling

/me dons the brown paper bag.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>


---
kernel/perf_counter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c
index 2158452..6944bd5 100644
--- a/kernel/perf_counter.c
+++ b/kernel/perf_counter.c
@@ -3634,7 +3634,7 @@ static void perf_swcounter_overflow(struct perf_counter *counter,
*/
break;
}
- throttle = 0;
+ throttle = 1;
}
}


\
 
 \ /
  Last update: 2009-09-18 21:21    [W:0.040 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site