diff options
author | Abhilash Jindal <klock.android@gmail.com> | 2015-08-11 19:01:22 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-01 16:51:43 +0300 |
commit | 72e624de6e6f0d5a638fbc23842aa76ae048e9e7 (patch) | |
tree | 5752040aa7d5293ce0aa33a122f9900aa1f0fb63 /security/yama | |
parent | 309d0631cc329ca1051c631c89e0acc9b752cb4d (diff) | |
download | linux-72e624de6e6f0d5a638fbc23842aa76ae048e9e7.tar.xz |
cpufreq: speedstep-lib: Use monotonic clock
Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to
user setting the time or due to NTP.
Monotonic time is constantly increasing time better suited for comparing two
timestamps.
Signed-off-by: Abhilash Jindal <klock.android@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions