diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-02-09 16:08:42 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-02-10 09:47:17 +0100 |
commit | 5f2e71e71410ecb858cfec184ba092adaca61626 (patch) | |
tree | dae498d353d35fd4e89597143e9f5e125c886968 /security/selinux | |
parent | f2e04214ef7f7e49d1e06109ad1b2718155dab25 (diff) |
x86/tsc: Make the TSC ADJUST sanitizing work for tsc_reliable
When the TSC is marked reliable then the synchronization check is skipped,
but that also skips the TSC ADJUST sanitizing code. So on a machine with a
wreckaged BIOS the TSC deviation between CPUs might go unnoticed.
Let the TSC adjust sanitizing code run unconditionally and just skip the
expensive synchronization checks when TSC is marked reliable.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Olof Johansson <olof@lixom.net>
Link: http://lkml.kernel.org/r/20170209151231.491189912@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions