perf_counter: Fix up swcounter throttling
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 18 Sep 2009 10:18:14 +0000 (12:18 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Sep 2009 18:43:22 +0000 (20:43 +0200)
/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

index 215845243a691f47ac3846ab8fcefcd3187dfc65..6944bd55ec4e91062ea3a9c14675381b756df3ea 100644 (file)
@@ -3634,7 +3634,7 @@ static void perf_swcounter_overflow(struct perf_counter *counter,
                         */
                        break;
                }
-               throttle = 0;
+               throttle = 1;
        }
 }