diff options
author | Andi Kleen <ak@linux.intel.com> | 2018-08-07 15:09:37 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-08-08 09:23:44 +0200 |
commit | 0768f91530ff46683e0b372df14fd79fe8d156e5 (patch) | |
tree | 07971e6c9631db7d4afd93ff1f0234c4313ff050 /lib/debugobjects.c | |
parent | f22cc87f6c1f771b57c407555cfefd811cdd9507 (diff) |
x86/speculation/l1tf: Make pmd/pud_mknotpresent() invert
Some cases in THP like:
- MADV_FREE
- mprotect
- split
mark the PMD non present for temporarily to prevent races. The window for
an L1TF attack in these contexts is very small, but it wants to be fixed
for correctness sake.
Use the proper low level functions for pmd/pud_mknotpresent() to address
this.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions