Re: [PATCH, RFC 20/62] mm/page_ext: Export lookup_page_ext() symbol
From: Kirill A. Shutemov
Date: Fri Jun 14 2019 - 18:49:34 EST
On Fri, Jun 14, 2019 at 01:12:59PM +0200, Peter Zijlstra wrote:
> On Wed, May 08, 2019 at 05:43:40PM +0300, Kirill A. Shutemov wrote:
> > page_keyid() is inline funcation that uses lookup_page_ext(). KVM is
> > going to use page_keyid() and since KVM can be built as a module
> > lookup_page_ext() has to be exported.
>
> I _really_ hate having to export world+dog for KVM. This one might not
> be a real issue, but I itch every time I see an export for KVM these
> days.
Is there any better way? Do we need to invent EXPORT_SYMBOL_KVM()? :P
--
Kirill A. Shutemov