diff options
| author | Peter Zijlstra <[email protected]> | 2009-06-03 14:01:36 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-06-03 14:57:03 +0200 |
| commit | a96bbc16418bc691317f265d6bf98ba941ca9c1a (patch) | |
| tree | 136e40a12a94653e8224d6c09d5384b4140e0532 /scripts/patch-kernel | |
| parent | 8229289b607682f90b946ad2c319526303c17700 (diff) | |
perf_counter: Fix race in counter initialization
We need the PID namespace and counter ID available when the
counter overflows and we need to generate a sample event.
[ Impact: fix kernel crash with high-frequency sampling ]
Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: John Kacur <[email protected]>
LKML-Reference: <new-submission>
[ fixed a further crash and cleaned up the initialization a bit ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions