Files
linux/kernel
Peter Zijlstra 0819b2e30c perf: Limit perf_event_attr::sample_period to 63 bits
Vince reported that using a large sample_period (one with bit 63 set)
results in wreckage since while the sample_period is fundamentally
unsigned (negative periods don't make sense) the way we implement
things very much rely on signed logic.

So limit sample_period to 63 bits to avoid tripping over this.

Reported-by: Vince Weaver <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
2014-05-19 21:44:55 +09:00
..
2014-04-07 16:35:53 -07:00
2013-11-13 12:09:34 +09:00
…
…
…
…
…
…
…
…
…
…
2013-12-04 14:09:46 +10:30
…
…
2013-12-18 19:04:50 -08:00
…
…
…
2014-04-30 13:46:17 +02:00
…
…
…