[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZBivXk5O316fChmi@google.com>
Date: Mon, 20 Mar 2023 12:09:18 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Ben Gardon <bgardon@...gle.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
Paolo Bonzini <pbonzini@...hat.com>,
Peter Xu <peterx@...hat.com>,
David Matlack <dmatlack@...gle.com>,
Vipin Sharma <vipinsh@...gle.com>,
Ricardo Koller <ricarkol@...gle.com>
Subject: Re: [PATCH 00/21] KVM: x86/MMU: Formalize the Shadow MMU
On Thu, Feb 02, 2023, Ben Gardon wrote:
> Patches 4-6 prepare for the refactor by adding files and exporting
> functions.
For future reference, please do not conflate "export" with "make globally visible"
(here and in many of the changelogs). The distinction matters, especially for
modules, as an exported symbol is quite different than a globally visible symbol.
We (sadly) lose sight of this in KVM far too often due kvm.ko exporting an asburd
number of symbols for kvm-{amd,intel}.ko, and as a result we've ended up with
non-KVM code using helpers that realy should be KVM-only. This is something I
hope to remedy in the near-ish future, and so I want us to start getting the
terminology right.
Powered by blists - more mailing lists