Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2307781ybi; Mon, 17 Jun 2019 02:32:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbnKWjTjBMz2O/GamD3KHS3oDGSTCwAUyt6QGXTYvZTMx6ZCgsJB9vc5+yvs3Y8Dtqdazv X-Received: by 2002:a17:90a:db44:: with SMTP id u4mr25186112pjx.52.1560763969504; Mon, 17 Jun 2019 02:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560763969; cv=none; d=google.com; s=arc-20160816; b=kE5mLj1UQ+jZL7h7iSXQi5X/ZKZqc76qKPXkdD7eZ9Y3HDuOM64kNY1OlnEyDB49po 7WQ7RNzp887uMY4S0bKgPIaRj+NjDdN0A6tqspEFPeLrNOOPHRf9ms9hMaZ2f1Q1lruz DLeR5O9e87sK2/XOCpYm0yV6l1+ApjgVfiz7J+SiGvNS7G+wq20iqL5+l0pCaEnDKiT5 OX05hi4fRc4iTgq6Xe/GbKk/7cO6nkkmrZRRVttoUmO3hOl6ACHnuBnAgfOACDT0gQD4 F86MPxy1ohYMtcZiyVIf9NHKSJ1adfn2v05k/vI+KRBHmzWJk4IaErSnY0gQl3gjDxdp /U7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=S6Eux1+C4YWs/QuUA6SdliFdoSV6T3YyLMZZE5kCxoc=; b=AgG8BJ/g9Npl7ccIVre87c2WFln4ZJ38t429VWo35KiQrEn1eaRY9RCSGh2JQnHA1V esD27uptWyOFd1HSrrEEggJBCDBVUpGRy7Q6L6+CHAmnTiM7J1qslueshk0vdwgz7i7c WZOOhLSCJ1hKxOX9LGgy6twZ+bgcf/agiFO1yGjNKCFq4+jh21oU4+Ft8WUmFjGExoIS s8wKgsUAo/5gjg/l9rAx/jV0hlHOrT7oYpw2yEMjnzQ0fOBtBHdXTtl6aG0c446qV5ry DaHpUbZ5j/bkiK0c5u6IJibMLUvJ0r79/pESgwhAoYMplesJ3Vga7gO/06uhdQ/F+k9J 2x9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=RUBMKb3U; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67si10733713plf.400.2019.06.17.02.32.33; Mon, 17 Jun 2019 02:32:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=RUBMKb3U; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728208AbfFQJbH (ORCPT + 99 others); Mon, 17 Jun 2019 05:31:07 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:50838 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728067AbfFQJbG (ORCPT ); Mon, 17 Jun 2019 05:31:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=S6Eux1+C4YWs/QuUA6SdliFdoSV6T3YyLMZZE5kCxoc=; b=RUBMKb3UfCdPutyLXQFsDEmKI Re6hCejTEV4R0QEWXbWr1K++kvxXqJmFehO8gKOWiiMoNlpMiQPU+ntcT1yCXHePZ+lHyf05s/0+t fKrO5mJAjcBO15sERkJaSnBM4UW4zaBb179cK8DbMSoNLkX2HexrlSQqGTuph4i1O5UO6U0qHoi9e vSrciALv3UC2tHwFxGamq+atN57Vg+H1QVVTmxGbEIo5TB4/1qBj5abfZsIVz58l6JsblHdBNTn0u Md3uulXM/xZzWdYAX50mjrdreT/YH0//O2BAS4Me5fkXCfird5wtoe2TiAmFC9N3ytSAqd+X7ce2n zPvKrDuzg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hcnyZ-0005HC-RB; Mon, 17 Jun 2019 09:30:56 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 487DA20144539; Mon, 17 Jun 2019 11:30:54 +0200 (CEST) Date: Mon, 17 Jun 2019 11:30:54 +0200 From: Peter Zijlstra To: "Kirill A. Shutemov" Cc: "Kirill A. Shutemov" , Andrew Morton , x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Borislav Petkov , Andy Lutomirski , David Howells , Kees Cook , Dave Hansen , Kai Huang , Jacob Pan , Alison Schofield , linux-mm@kvack.org, kvm@vger.kernel.org, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH, RFC 20/62] mm/page_ext: Export lookup_page_ext() symbol Message-ID: <20190617093054.GB3419@hirez.programming.kicks-ass.net> References: <20190508144422.13171-1-kirill.shutemov@linux.intel.com> <20190508144422.13171-21-kirill.shutemov@linux.intel.com> <20190614111259.GA3436@hirez.programming.kicks-ass.net> <20190614224443.qmqolaigu5wnf75p@box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190614224443.qmqolaigu5wnf75p@box> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 15, 2019 at 01:44:43AM +0300, Kirill A. Shutemov wrote: > 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 Or disallow KVM (or parts thereof) from being a module anymore.