summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-09-18 12:18:14 +0200
committerIngo Molnar <mingo@elte.hu>2009-09-18 20:43:22 +0200
commitcf450a7355a116af793998c118a6bcf7f5a8367e (patch)
treeaaa3bec236b01e1b3070baab548ba445609143a9 /kernel
parentx86, perf_counter, bts: Optimize BTS overflow handling (diff)
downloadlinux-cf450a7355a116af793998c118a6bcf7f5a8367e.tar.xz
linux-cf450a7355a116af793998c118a6bcf7f5a8367e.zip
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/perf_counter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c
index 215845243a69..6944bd55ec4e 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;
}
}