Skip to contentSkip to conversation

perf_counter: Fix up swcounter throttling

tip:perfcounters/core tip-bot for Peter Zijlstra 1 participant 1 message Sep 18, 2009

lore
Share & tools
lore
#0 lore raw
Commit-ID:  cf450a7355a116af793998c118a6bcf7f5a8367e
Gitweb:     http://git.kernel.org/tip/cf450a7355a116af793998c118a6bcf7f5a8367e
Author:     Peter Zijlstra <[email protected]>
AuthorDate: Fri, 18 Sep 2009 12:18:14 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 18 Sep 2009 20:43:22 +0200

perf_counter: Fix up swcounter throttling

/me dons the brown paper bag.

LKML-Reference: <new-submission>

---
 kernel/perf_counter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/perf_counter.c +1 -1
index 2158452..6944bd5 100644
@@ -3634,7 +3634,7 @@ static void perf_swcounter_overflow(struct perf_counter *counter,
 			 */
 			break;
 		}
-		throttle = 0;
+		throttle = 1;
 	}
 }