diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-04-21 11:20:28 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-04-24 15:55:50 +0200 |
commit | 8c5cc19e94703182647dfccc164e4437a04539c8 (patch) | |
tree | c244e843d16a250eb8ee2b59f6bcc61cc4875a47 /LICENSES | |
parent | 325518e9b743686f471e7a4ef617b57c91386795 (diff) | |
download | lwn-8c5cc19e94703182647dfccc164e4437a04539c8.tar.gz lwn-8c5cc19e94703182647dfccc164e4437a04539c8.zip |
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 'LICENSES')
0 files changed, 0 insertions, 0 deletions