[request for stable inclusion]perf: Enforce 1 as lower limit for perf_event_max_sample_rate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luis and Ingo,

723478c8a471403c53cf144999701f6e0c4bbd11
perf: Enforce 1 as lower limit for perf_event_max_sample_rate

Please queue this for 3.11.x and 3.12.x. It fixes a divide-by-zero bug.
The bug can be triggiered by writing 0 to /proc/sys/kernel/perf_event_max_sample_rate,
which was introduced by 14c63f17b1fde5a575a28e96547a22b451c71fb5 ("perf: Drop sample
rate when sampling is too slow").

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]