aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <[email protected]>2019-02-27 11:10:20 +0300
committerIngo Molnar <[email protected]>2019-04-19 13:42:10 +0200
commit1a8b4540db732ca16c9e43ac7c08b1b8f0b252d8 (patch)
tree872de05aa4f62392f99ff31a4ac5c28bbdd0a9d6 /tools/perf/scripts/python/exported-sql-viewer.py
parent5b61d50ab4ef590f5e1d4df15cd2cea5f5715308 (diff)
sched/core: Check quota and period overflow at usec to nsec conversion
Large values could overflow u64 and pass following sanity checks. # echo 18446744073750000 > cpu.cfs_period_us # cat cpu.cfs_period_us 40448 # echo 18446744073750000 > cpu.cfs_quota_us # cat cpu.cfs_quota_us 40448 After this patch they will fail with -EINVAL. Signed-off-by: Konstantin Khlebnikov <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/155125502079.293431.3947497929372138600.stgit@buzz Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions