lkml.org 
[lkml]   [2020]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 00/15] x86/tlb: Unexport per-CPU tlbstate
On Mon, Apr 20, 2020 at 07:27:06PM +0200, Thomas Gleixner wrote:
> Christoph Hellwig <hch@infradead.org> writes:
> > Just looking over some exports at the end of the series (and thus
> > ignoring bisection issues):
> >
> > - Is there any good reason to keep __flush_tlb_all inline vs moving it
> > out of line and kill the flush_tlb_local and flush_tlb_global exports.
> > Also there is just a single modular users in SVM, I wonder if there is
> > any way to get rid of that one as well.
>
> I'll have a look again.

Regarding the SVM case, the only usage is for a TLB errata. At a glance,
svm_init_erratum_383() and is_erratum_383() don't use any KVM hooks, i.e. I
don't see anything that would prevent moving those to .../kernel/cpu/amd.c.

\
 
 \ /
  Last update: 2020-04-21 10:09    [W:0.219 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site