aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorCyrill Gorcunov <[email protected]>2010-05-14 23:08:15 +0400
committerIngo Molnar <[email protected]>2010-05-15 08:38:55 +0200
commit1ff3d7d79204612ebe2e611d2592f8898908ca00 (patch)
tree666a907c25cc9ebeff05dfe982b5d480f42f64ad /net
parent5d2be7cb198a0a6bc6088d3806fb7261b184ad89 (diff)
x86, perf: P4 PMU - fix counters management logic
Jaswinder reported this #GP: | | Message from syslogd@ht at May 14 09:39:32 ... | kernel:[ 314.908612] EIP: [<c100ccca>] | x86_perf_event_set_period+0x19d/0x1b2 SS:ESP 0068:edac3d70 | Ming has narrowed it down to a comparision issue between arguments with different sizes and signs. As result event index reached a wrong value which in turn led to a GP fault. At the same time it was found that p4_next_cntr has broken logic and should return the counter index only if it was not yet borrowed for another event. Reported-by: Jaswinder Singh Rajput <[email protected]> Reported-by: Lin Ming <[email protected]> Bisected-by: Lin Ming <[email protected]> Tested-by: Jaswinder Singh Rajput <[email protected]> Signed-off-by: Cyrill Gorcunov <[email protected]> CC: Peter Zijlstra <[email protected]> CC: Frederic Weisbecker <[email protected]> LKML-Reference: <20100514190815.GG13509@lenovo> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions