Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1471007ybi; Fri, 14 Jun 2019 15:46:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAgwq9qqjltPSkwKtnLTDk2c+QwZZkscV94YPv841JNQpKAT0oSB/mDxjrV6PAxFEEvIvm X-Received: by 2002:aa7:8705:: with SMTP id b5mr80913800pfo.27.1560552402306; Fri, 14 Jun 2019 15:46:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560552402; cv=none; d=google.com; s=arc-20160816; b=ikDjiFLwQEUBTo/s3YYVkmgMkX3SdqUjZBWBDR5xqVHbT1yaSNOGVAw3BBuWFQRJXJ El/lYgNXL/+coYhm/rLvj5qLKhYFIZ0wMX7NeSZEo/kck903RwkF1b4jdes0sNW7aNdb zYSMvAhk6tmS0QVZfIfyOuKf77o+Laiux4HuWi6NpfjJWte2LiSEj8hp+pardn5K4Z7o WmI9z0QeQMTfWDsfoYfRSjOb7ZJcfF3LPtFWD4JQqSgNJnJC3rjK7Z8S6nRisUToyOsu QE3f4+VavO/eHJKme2BsEOKr+ulDVw9dZlf7qBs5jR2D5l9PZc0BOkokmmVwz12WBBFB mtMA== 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=h2YsZJ/hpz/dktPd7lJ9/WdLKqP8cOEcDv4gWF/xH7M=; b=jYOLNKrZ+H9Uwp2XWh6Hn0rnGEohEL2qLbtyQ6IMLZu+QR/l09XrLS9YH6MxDXCikj 2N/l/3XlwW8t0Z8fj9uC3oPcXQ4G2dy19LcVlpzQz38RDX+WGdSm+0ghYd0dmcCir+P/ wflweMq9q7Pl24jK0EkE2Dvf3rBgHSIZJAnG5RKdv79mNF+tBwPZC1R2yJ9EYS6yh6Nw dBYfGELytgmG9CDbpqIndu1w/FjYRTi+zeenj4I8jcozuRr09AVbZm/p+TYKmSLZGb6A LvlRGlxLqQopW3PmhkBPZso38FYP4iKhiHp1qsxa2x57VXEqqnKQQ7hrVWYaYv1fckp4 mJMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b="Y2t0/2mr"; 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 q189si3631680pga.156.2019.06.14.15.46.20; Fri, 14 Jun 2019 15:46:42 -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=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b="Y2t0/2mr"; 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 S1726209AbfFNWop (ORCPT + 99 others); Fri, 14 Jun 2019 18:44:45 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:43017 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbfFNWop (ORCPT ); Fri, 14 Jun 2019 18:44:45 -0400 Received: by mail-ed1-f66.google.com with SMTP id e3so5591116edr.10 for ; Fri, 14 Jun 2019 15:44:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=h2YsZJ/hpz/dktPd7lJ9/WdLKqP8cOEcDv4gWF/xH7M=; b=Y2t0/2mr8aihOd4yjitVfbPHHMKDHwZD9B6ADKgMF/1yloLEFDKbVCRHfVvaojZBhW X9iJJUE6HuWUrExWayDRtjj+0OY9xfenQmbiD65VYnZPJOUFGdTbi3xuEA07tqg3ncbv ajDe+y4rUbN/CGxSwjohrEi6tZZ+rb0czHc523vfaeBuj/plC1g5QA1E/xwdWDUbC4Hd RklEBmoxmZUKNVrU/LEZqMvsSeLzhM9NmIDLrG2hAKwrIZM2QBMIxo1U2J3pm1Yk5ZQ5 p0ydX7NAPzB8rkCRYyO5wZUKpOOL548iP7pggw258oF7RxeVGfPE4TrDcwadMkWMbA1a BUNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=h2YsZJ/hpz/dktPd7lJ9/WdLKqP8cOEcDv4gWF/xH7M=; b=Pkm+dx8g7Wa9ngB87eo9+b+GjiHV/iqY6pNia0ea9fT4fjT6MICKXPzG9FC7OSncWb anz8wPcgKilrarPEhnFcCt8nI8k+uNCK50Qky7pr3no+mmF9be3BwEA6TqCFdjA73A4q rPehK+ZCfuVGJ/xDaQYYBpdQgm8AL+meGA+hgL4aIbPSaITXvJMbxFh5TuajI+0WanUn d3R16rjrgrJxPZbIEvKgU3ARignmuUed7jEiLkWbAFPjUgBgfNsic7zw0F44OCsBG7S5 9LUUyVKFN+WyuxcGIVo2Pb/FgcWsqv1kH5EmNyDhlkKuL5Bc/O4SysjYltUbyFBOXIwd lGxg== X-Gm-Message-State: APjAAAUcL9G7joonQnh+qGM8uZBauT/7I2KBSo1uId3BKz/XTrWtJrl+ LYqXWom5pnhC7J1X8n0g6Jr7ug== X-Received: by 2002:a17:906:b2c6:: with SMTP id cf6mr66162140ejb.274.1560552283205; Fri, 14 Jun 2019 15:44:43 -0700 (PDT) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id j19sm1212825edr.69.2019.06.14.15.44.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jun 2019 15:44:42 -0700 (PDT) Received: by box.localdomain (Postfix, from userid 1000) id 42D7D1032BB; Sat, 15 Jun 2019 01:44:43 +0300 (+03) Date: Sat, 15 Jun 2019 01:44:43 +0300 From: "Kirill A. Shutemov" To: Peter Zijlstra 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: <20190614224443.qmqolaigu5wnf75p@box> References: <20190508144422.13171-1-kirill.shutemov@linux.intel.com> <20190508144422.13171-21-kirill.shutemov@linux.intel.com> <20190614111259.GA3436@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190614111259.GA3436@hirez.programming.kicks-ass.net> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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