From patchwork Fri Aug 20 09:58:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 12448787 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 351FCC4338F for ; Fri, 20 Aug 2021 10:01:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D531D610CB for ; Fri, 20 Aug 2021 10:01:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D531D610CB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 760B86B0075; Fri, 20 Aug 2021 06:01:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6E98E6B0078; Fri, 20 Aug 2021 06:01:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5B1E58D0002; Fri, 20 Aug 2021 06:01:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0137.hostedemail.com [216.40.44.137]) by kanga.kvack.org (Postfix) with ESMTP id 3C8B26B0075 for ; Fri, 20 Aug 2021 06:01:39 -0400 (EDT) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id EA0CB80EF81C for ; Fri, 20 Aug 2021 10:01:38 +0000 (UTC) X-FDA: 78495017076.18.188BA08 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf29.hostedemail.com (Postfix) with ESMTP id B9B3D90001BC for ; Fri, 20 Aug 2021 10:01:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=OeK3I+1l0xomijoHvRqsdYXTySAGsZIzhVjcZsSq7U0=; b=Zr3DitrUpEOFcENF3OtghGRMLi kSUsgxxHghHOEjCYGgRPXlA0lGc838SHvugAnpoCt9BGKLn8a9GKOb3w5SEniekSW4MniHzDudrMq FOM0PxBd4/+2W7NQdVAEQb38Z5mJThI9xEIn/j6EdEKjhfh3G+/Vga5+wjgTWtn0qdbVOUJx+TVE/ 9c0JEFuHSbGtKTzjmYvP2YD2j3Emx3fJA849JqG1QmIQIzDxKAcoNWFcNYt17VJrIOODWOBe9vfDb 7M61rDO+x9gTFoWQhuRgIse2pGdxFHyW9VNIkOBCHZWXDZDW7/FTeSKhAJQrTjRkWNwYqt7ew8BP4 Bqpg/Mbw==; Received: from [2001:4bb8:188:1b1:43a3:4b88:ec18:d4de] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mH1Ip-006LIh-GW; Fri, 20 Aug 2021 09:59:31 +0000 From: Christoph Hellwig To: Johannes Weiner , Michal Hocko , Vladimir Davydov , Andrew Morton Cc: Matthew Wilcox , cgroups@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 1/2] mm: unexport folio_memcg_{,un}lock Date: Fri, 20 Aug 2021 11:58:14 +0200 Message-Id: <20210820095815.445392-2-hch@lst.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210820095815.445392-1-hch@lst.de> References: <20210820095815.445392-1-hch@lst.de> MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=Zr3DitrU; dmarc=none; spf=none (imf29.hostedemail.com: domain of BATV@casper.srs.infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=BATV@casper.srs.infradead.org X-Stat-Signature: wg1oziiadsdbs1fxjwok96839h6hooua X-Rspamd-Queue-Id: B9B3D90001BC X-Rspamd-Server: rspam01 X-HE-Tag: 1629453698-989276 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: These are only used in built-in core mm code. Signed-off-by: Christoph Hellwig --- mm/memcontrol.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 45a160894a035..4cb4349065931 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -2014,7 +2014,6 @@ void folio_memcg_lock(struct folio *folio) memcg->move_lock_task = current; memcg->move_lock_flags = flags; } -EXPORT_SYMBOL(folio_memcg_lock); void lock_page_memcg(struct page *page) { @@ -2048,7 +2047,6 @@ void folio_memcg_unlock(struct folio *folio) { __folio_memcg_unlock(folio_memcg(folio)); } -EXPORT_SYMBOL(folio_memcg_unlock); void unlock_page_memcg(struct page *page) {