Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4577422ybg; Mon, 8 Jun 2020 11:19:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSeEEJKCzZSWMzxDHoHi5M27z3ukeOxQ+bz5hYOxrQm2zhyjg6Ty7/6ODj+LR4HTLlrEXw X-Received: by 2002:a17:907:1005:: with SMTP id ox5mr21599815ejb.480.1591640368953; Mon, 08 Jun 2020 11:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591640368; cv=none; d=google.com; s=arc-20160816; b=y+H1HJDB5iyX2WIy6LA3oBYPIz9P8tHy18zcLZ3q77Dnw/fTFTjlo8fBJVsoHgBSUw vjMuAtz26ZWh+S40jn1+KRpTRDfqfvQsTOEZQlW2tKSV4ElBtJouhHNjGom+l02Rs2wZ L/P/Y+8iNYY82R6uiCt12xFb/T1IEBAhxxxBNnb4CpBT22vRz+58c4M3TrFNlfPWOJgr qJv5OLOvjFWr47vZYxVEC/cuGF0eU+YpTiyeVo53eLJGF2QwK9LQ9mlkZu1ikfY5oevY 7QvvxP6CogSvlM3xevyH+DfydpVYzpg7wRB5GeHdHHxkR7MezzoLTut7QbG5s5S8F3QQ 8KlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=oIo80SnB/PSIWlFE9jQ3/SK9wb3PpgcPr98lQXyYwj4=; b=dDzmDRbvZGiWbb+7zsqHUUPBfGOn12wTc1I4jGmFj8wNyqgT5s7fAF86Djk0lTQ49K zdPXFO0SAesQOzxaeUzusWYcqcLcGskSLSYxRFCl2FVIympjfOCAIuw735K2Ee3TLV54 Ul6Ndu3CaYTciVDjwngsOhkAAE/rnTOKzMdlwKY/THwUl590ilKJH6OnCZW79rJ3o7IC jkDbCnEVfodIfyeIJhZlXM8x8y7kCzYQov9SANVf9PY+p+RjxQA5xwtvF1GbqY6vTy6C qqfosmoYmJcT37VsTQlK76lvW8BZXMpn/q2TEnuidyIgRMLMyLwRmHO17UEd+f35Pm5H 6hFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=L4tNUQw3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z9si9102613ejm.47.2020.06.08.11.19.05; Mon, 08 Jun 2020 11:19:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=L4tNUQw3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726035AbgFHSQ2 (ORCPT + 99 others); Mon, 8 Jun 2020 14:16:28 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:58760 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725797AbgFHSQ2 (ORCPT ); Mon, 8 Jun 2020 14:16:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591640186; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oIo80SnB/PSIWlFE9jQ3/SK9wb3PpgcPr98lQXyYwj4=; b=L4tNUQw3uGDtfyy7foSVer/tEXKWNRmJuYSsNaN6hs5boUfN8eEghtqkXW8TBA3jl0dBLj VEE3s7ESIxHJyM2rjmVi0yhI8cZMJZ4uKtUOi2p5yNLVvuwI1e8iVWum5LhgurofksT860 9zAxBEHqpghEPYJpch4v4mBq5pX5d5Q= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-311-_NqeFH-KO-GlhwrTIN2a7w-1; Mon, 08 Jun 2020 14:15:54 -0400 X-MC-Unique: _NqeFH-KO-GlhwrTIN2a7w-1 Received: by mail-ej1-f70.google.com with SMTP id t4so6346636ejj.12 for ; Mon, 08 Jun 2020 11:15:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=oIo80SnB/PSIWlFE9jQ3/SK9wb3PpgcPr98lQXyYwj4=; b=kX3G3HsvD7OOG8yMpOtbphXKmdpcXJVGiT0+KaZ08INURG+FnbE1oICeloyPfrEwQW UnR23naVkkCkPcqQNk4+FlQBxQcLWzXcZzamezDO96hgMLzC5UCqo5XxPWYdRjU+XB2M 5XRv4N+Ta69RC+eBs2ldbE6SMmqgD/f32uNW9bcdpezAts3XMQVuGynXL0oJSSVltE6K pRlmEJrH/NJdLkoMaClL6il4MtZK1XwtdRpM+bQvfBVw6KTn365q8D2gwyBzuP8ZzsOc m2C/l7076lUQCiXfTA0klwZMBNuV6M7MM9aYdXNDyxu+midHyHUsX+yAUCpR99Z+qqln 4WoA== X-Gm-Message-State: AOAM530ZqX3i34mOFOHuIHP9H/jUyFKDoQmjGRINIVvSZTKhKwxufeWo MZB1L2fYM9q0ToK4Yi+UGvlbLt9xslDfrV8Q/xs35XpPmG4ZiWEXECwv12guVCBPtDrUKFfrwFs 90ihT5cWeCyh+PzzL5PXb3gdd X-Received: by 2002:a50:ac84:: with SMTP id x4mr23961537edc.124.1591640153199; Mon, 08 Jun 2020 11:15:53 -0700 (PDT) X-Received: by 2002:a50:ac84:: with SMTP id x4mr23961498edc.124.1591640152969; Mon, 08 Jun 2020 11:15:52 -0700 (PDT) Received: from [192.168.3.122] (p5b0c659c.dip0.t-ipconnect.de. [91.12.101.156]) by smtp.gmail.com with ESMTPSA id k3sm13152866edi.60.2020.06.08.11.15.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Jun 2020 11:15:52 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: David Hildenbrand Mime-Version: 1.0 (1.0) Subject: Re: [PATCH v15 01/14] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Mon, 8 Jun 2020 20:15:50 +0200 Message-Id: <320E495A-1A3E-423B-A3E7-088004771E45@redhat.com> References: <20200608154917.GA8408@infradead.org> Cc: David Hildenbrand , SeongJae Park , akpm@linux-foundation.org, SeongJae Park , jonathan.cameron@huawei.com, aarcange@redhat.com, acme@kernel.org, alexander.shishkin@linux.intel.com, amit@kernel.org, benh@kernel.crashing.org, brendan.d.gregg@gmail.com, brendanhiggins@google.com, cai@lca.pw, colin.king@canonical.com, corbet@lwn.net, dwmw@amazon.com, foersleo@amazon.de, irogers@google.com, jolsa@redhat.com, kirill@shutemov.name, mark.rutland@arm.com, mgorman@suse.de, minchan@kernel.org, mingo@redhat.com, namhyung@kernel.org, peterz@infradead.org, rdunlap@infradead.org, riel@surriel.com, rientjes@google.com, rostedt@goodmis.org, sblbir@amazon.com, shakeelb@google.com, shuah@kernel.org, sj38.park@gmail.com, snu@amazon.de, vbabka@suse.cz, vdavydov.dev@gmail.com, yang.shi@linux.alibaba.com, ying.huang@intel.com, linux-damon@amazon.com, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20200608154917.GA8408@infradead.org> To: Christoph Hellwig X-Mailer: iPhone Mail (17E262) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 08.06.2020 um 18:11 schrieb Christoph Hellwig : >=20 > =EF=BB=BFOn Mon, Jun 08, 2020 at 01:53:23PM +0200, David Hildenbrand wrote= : >>> @@ -131,6 +131,7 @@ struct page_ext *lookup_page_ext(const struct page *= page) >>> MAX_ORDER_NR_PAGES); >>> return get_entry(base, index); >>> } >>> +EXPORT_SYMBOL_GPL(lookup_page_ext); >>>=20 >>> static int __init alloc_node_page_ext(int nid) >>> { >>>=20 >>=20 >> I've been told to always smuggle new EXPORTs into the patch that >> actually needs it (and cc relevant people on that patch instead). >=20 > A separate patch for anything remotely controversial really helps it > to stick out, so I think keeping it separate is a very good practice. >=20 That used to be my approach until Michal told me to do it differently. And t= here is a good point for it: Reviewers actually understand in which context i= t is used and if it is really required. Having that said, I don=E2=80=98t have a strong opinion on this.=