diff options
author | Thomas Gleixner <[email protected]> | 2020-04-21 11:20:30 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-04-24 19:01:17 +0200 |
commit | cb2a02355b042ec3ef11d0ba2a46742678e41632 (patch) | |
tree | 618c7b32b616ef12f39858249b6f67581dd16029 /scripts/gdb/linux/lists.py | |
parent | d8f0b35331c4423e033f81f10eb5e0c7e4e1dcec (diff) |
x86/cr4: Sanitize CR4.PCE update
load_mm_cr4_irqsoff() is really a strange name for a function which has
only one purpose: Update the CR4.PCE bit depending on the perf state.
Rename it to update_cr4_pce_mm(), move it into the tlb code and provide a
function which can be invoked by the perf smp function calls.
Another step to remove exposure of cpu_tlbstate.
No functional change.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Alexandre Chartre <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions