diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-11-11 19:20:04 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-12-18 20:07:32 +0300 |
commit | 245595e83fbedda9e107eb0b37cec0ad07733778 (patch) | |
tree | 7578182952795a319fbff6c71c756fecd57e74e5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6cedb8b377bba6520508399b74754b9a0ca06edf (diff) | |
download | linux-245595e83fbedda9e107eb0b37cec0ad07733778.tar.xz |
drm/etnaviv: reject timeouts with tv_nsec >= NSEC_PER_SEC
Most kernel interfaces that take a timespec require normalized
representation with tv_nsec between 0 and NSEC_PER_SEC.
Passing values larger than 0x100000000ull further behaves differently
on 32-bit and 64-bit kernels, and can cause the latter to spend a long
time counting seconds in timespec64_sub()/set_normalized_timespec64().
Reject those large values at the user interface to enforce sane and
portable behavior.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions