diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-04-21 12:20:28 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-04-24 16:55:50 +0300 |
commit | 8c5cc19e94703182647dfccc164e4437a04539c8 (patch) | |
tree | c244e843d16a250eb8ee2b59f6bcc61cc4875a47 /scripts/gdb/linux/utils.py | |
parent | 325518e9b743686f471e7a4ef617b57c91386795 (diff) | |
download | linux-8c5cc19e94703182647dfccc164e4437a04539c8.tar.xz |
x86/tlb: Uninline __get_current_cr3_fast()
cpu_tlbstate is exported because various TLB-related functions need
access to it, but cpu_tlbstate is sensitive information which should
only be accessed by well-contained kernel functions and not be directly
exposed to modules.
In preparation for unexporting cpu_tlbstate move __get_current_cr3_fast()
into the x86 TLB management code.
No functional change.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200421092558.848064318@linutronix.de
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions