From patchwork Thu Dec 12 07:34:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 13904767 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76416E7717F for ; Thu, 12 Dec 2024 07:34:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9B13B6B007B; Thu, 12 Dec 2024 02:34:31 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 95FF66B0082; Thu, 12 Dec 2024 02:34:31 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 84F096B0083; Thu, 12 Dec 2024 02:34:31 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 6772D6B007B for ; Thu, 12 Dec 2024 02:34:31 -0500 (EST) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 011CEC19F7 for ; Thu, 12 Dec 2024 07:34:30 +0000 (UTC) X-FDA: 82885492914.09.FB97F70 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf19.hostedemail.com (Postfix) with ESMTP id 85BC61A000D for ; Thu, 12 Dec 2024 07:34:03 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=AUsdx1ty; spf=none (imf19.hostedemail.com: domain of BATV+197d639d84551e46db20+7781+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+197d639d84551e46db20+7781+infradead.org+hch@bombadil.srs.infradead.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1733988847; a=rsa-sha256; cv=none; b=75Y2qQ4mZOaBvBwomnleKaKoSr1jm/zYXobgAa1faSVPdp5LJxGS85bCAWPI2aRnUVUIfY bAv12KJ8faz5Tuh7WrJ4nLOwKUeuPpWVgxDYrZpMhepihrwtH09mXn4wo/saWflvdbtec+ t1ogCQU4fLdl2eaABOibkPOO6QqiJxs= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=AUsdx1ty; spf=none (imf19.hostedemail.com: domain of BATV+197d639d84551e46db20+7781+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+197d639d84551e46db20+7781+infradead.org+hch@bombadil.srs.infradead.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1733988847; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=kQGo/TN6iPK+19bmHUGrqjzFR1GNZlL4R2W/K3gmgVw=; b=OiyXPQ7USpO5OpEBLnP7RU9iPcSMLbaC8MkglCYBtHOh5UHiokP3s2DD8e+YsXnGl26lgi uyp5UdjZpndGTyfJYKgEw7oWO+lQ5Pt2ceDtCOBX3JLGzGbWSWQZVnoNaOkNOOBpJh9eVD yhCg9MKIFQFgU5nImWXcsOagbbgr8O8= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=kQGo/TN6iPK+19bmHUGrqjzFR1GNZlL4R2W/K3gmgVw=; b=AUsdx1tykZZ2YtUGZ/0dEiAFW5 iNokgbnhfJD9UN6E0ux486gWnZkClgMKdQPkFut5CM51BAuE9qK4jQFrNb43X+mppag3i7FA5S58M 2t+ax/6stq9NPgaCojsny7SaZ0FeaWHyeuvkCah1LXrON1WNWrQZCEh3dewuA9oHoksLBkRUNAhCW Ud5vSf0K/+51tNrc0ZalPVI3izkF7z28BMoajtT2ZVmzZzj36scbh78fz1VYQv3Ossu1An2rx/s2k oYNMLxD6hafHhhvOuVb0m2o0l6YvMpRhe3cORljor+RHLlpAHU1f5kkqvnIXZ9xXAGHTWxaFp3SPe PmDXI9pQ==; Received: from 2a02-8389-2341-5b80-8a26-0533-d70e-96c1.cable.dynamic.v6.surfer.at ([2a02:8389:2341:5b80:8a26:533:d70e:96c1] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.98 #2 (Red Hat Linux)) id 1tLdiM-0000000HAcf-3CAq; Thu, 12 Dec 2024 07:34:27 +0000 From: Christoph Hellwig To: akpm@linux-foundation.org Cc: linux-mm@kvack.org Subject: [PATCH] mm: unexport apply_to_existing_page_range Date: Thu, 12 Dec 2024 08:34:23 +0100 Message-ID: <20241212073423.1439954-1-hch@lst.de> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Rspamd-Queue-Id: 85BC61A000D X-Stat-Signature: ijbb3xspwo568j9r54bdc6abtpsifwps X-Rspam-User: X-Rspamd-Server: rspam09 X-HE-Tag: 1733988843-532764 X-HE-Meta: U2FsdGVkX1+UtWsljzv/wAXvT3TIbuckCRLOAwEAfcG0Op4m0KwCwkIem87LRXuzOQqc+tX0TZhA8YEF+CDc6RRwUWoZ0yaHSm0/MZBbYmD1E9xRLL7wprto4naXGVMQPSgaW/R2IV1m+myaMlJ5CrvFNHWVVbBRiXEKt/UNo56bDUER7k3IqS5yOC5vVdBFc1hIRZtmKzOgv9ojPY1K7dvBmUQ4eMFDzXM7nmWlSfN/4IrXq2P2fmdDvBJY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DHJzoXdjzYONMeuFg6P7edIXXabmereopPtXDviYvjf4ENdRB0dwZBmsBucgG+qiktkGkkmVRyIScj06Sdgkc2GHgMhGK/5DFsHhmZ22vAEtpJI0uEYrLvfgR9//RKvxZD5VGZrW4jKiRVXuCLMOeOBk8hTNqoURYLNfrkzP+rFXlNJNPf7KfcS+PMMmE= 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: List-Subscribe: List-Unsubscribe: apply_to_existing_page_range is only used by non-modular code. Signed-off-by: Christoph Hellwig Reviewed-by: David Hildenbrand --- mm/memory.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index bdf77a3ec47b..a99f56d83cca 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -2999,7 +2999,6 @@ int apply_to_existing_page_range(struct mm_struct *mm, unsigned long addr, { return __apply_to_page_range(mm, addr, size, fn, data, false); } -EXPORT_SYMBOL_GPL(apply_to_existing_page_range); /* * handle_pte_fault chooses page fault handler according to an entry which was