From patchwork Tue Aug 15 03:06:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 13353464 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 12F6FC001DB for ; Tue, 15 Aug 2023 02:54:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7558D900017; Mon, 14 Aug 2023 22:54:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 705E490000B; Mon, 14 Aug 2023 22:54:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5F52B900017; Mon, 14 Aug 2023 22:54:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 4F2CB90000B for ; Mon, 14 Aug 2023 22:54:40 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 11BBCB1A7A for ; Tue, 15 Aug 2023 02:54:40 +0000 (UTC) X-FDA: 81124821120.25.12C0199 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by imf16.hostedemail.com (Postfix) with ESMTP id E086D180005 for ; Tue, 15 Aug 2023 02:54:35 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf16.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692068078; a=rsa-sha256; cv=none; b=48lZq5kiFyH2u9QhccECok/r1cf0gCO7WHcg+9GP6M+HxFP18ztviaIAgLScxcnoyvrqEV QnobKiAYFK3FIyYcrBOdP6ASvhDGeNaQM49dTJJRS1p+oCdDLw7jM7c5El8QU+UmK8Vjd8 NdPXx6+PKRHfwZuFxXRDlpP2IKlhWlk= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf16.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692068078; 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-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=8Riu6aZSXzCDc4YqfSSBKzAl5l2UIcPDEno+zNodG+Q=; b=eT7XELthhYFGTf446Ed6ImpiNbFqQkuItbVv6DRQrYEPGCN8KbSrm2zednCS2o5T4j8AZP VLBcYiM/VDuR0JDuldg1fKZGs90r7zFPqL6ennlq6GArZ6U5ClbMx4rvQF/viDVBrWpenv YCWNgcvbQvvvOVal5w3/SkQ7MqGwDkU= Received: from dggpemm100001.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RPwn43Rmhz1GDdJ; Tue, 15 Aug 2023 10:53:12 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by dggpemm100001.china.huawei.com (7.185.36.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Tue, 15 Aug 2023 10:54:30 +0800 From: Kefeng Wang To: Andrew Morton , CC: , , Kefeng Wang Subject: [PATCH] pagemap: remove wait_on_page_locked_killable() Date: Tue, 15 Aug 2023 11:06:09 +0800 Message-ID: <20230815030609.39313-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm100001.china.huawei.com (7.185.36.93) X-CFilter-Loop: Reflected X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: E086D180005 X-Stat-Signature: iaj1xd76y451xtp9t9u4g1496u718qax X-Rspam-User: X-HE-Tag: 1692068075-870520 X-HE-Meta: U2FsdGVkX1+pjQTtSWG9XdJXcmTQSgNICUHOw4Y0WNvaQP/OELGCc+EJIvg1ZyV8Og2FrmRmPoyMhSO8WzHU4PF8onkV7SK93vmubZpUyhrknJH1FstKwdsq2nzWIsu0YfS+iaqoYIqg8XEQJJnvHppgSptS+rEz2OedLc7mwsubCJE6SbIdMgekJjkX81BfeKtGfeMXGslfc8hkg3x4FcrFSXej78InTsceyA+/jk1QwuTC9PcB4spkqfjfcC7cux8m/WkOV7Yvx/73SA/EVUFLTxp54IvjYeVyRW/KAuITN4gmBuq+iVCKcfslsTyX8SDXbGMmbQYBDTA9DzcihIR43+IMog9dsoN6vJUjhtTsy10A7vCe++L6OlkvhEpmXUORS6lvGlpAhYWcewCceYn1tog1ohOBg1hu1cezidP7aOAtitj2+B2sX1lPL8mquSAoogbLyxGPB8F5Qh6O+P9LQUuwYVmDgd049aYqfhao7n3GhPnfEueW1Dxp85xXN5jN3Cy2YHKRjJiRwjqc2WR53jkLxJUqLdMFlEbZr+QBERrVWrXGl1XpeTHSl2BwiL+i4XRBlM7gXOQppbl4NlksjMoqoBTZFdJ9Cr8sssNtxNIixgOtncMlM7mASKf80yGm5pOFo1QWsOhVmc0k3EQ66z13B5LGP61BiA1nJUcaJBZhyzTGbSWtOQDe5iEBdQVoLHjeZ0sg4Jrj7xxvBesXfSW41ovHU1THVxH/K2B+I+z9zHL4zTa2FKqTi0lbbeGGyBoEF1Jbt1ECuUiaIsEPEZzVC1pVTFgs9g0FMI6rSjOfZxhl61Df7Q2YfDz1vGUWYv7R7953EDI3mcwy35Fk99WfC9BNECSXvMpexTNJx+5WV30roDoMWtYpqrmUZlNpGqG5UnuEILPSrh+dJ7chV98iultVrzTgpUtc13uW1kxtbmFFSINzCnr1Qt0T6E4Vy/b5rYFetDum82x 9URL8poN AeUxgTWqcbSuLvtJft9KcmPFwBtHRytXHQe7xp0esXSWU9xkshTaJ8btQ3ioziRVqQv0pvkhv1ZDuBx3IM43QpykQO91mt2OoGR7C/4+nGejhlGb7n6dpJyU4QNCNFADxN1Z1JpYlo9wjV7V60stIRh/Rpc0K4LyRECEoP4r8f4DYc3kMvmLP1foF9+tqltCmzVk+fugbIow4/ZuRUWllVbekIg== 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: There is no users of wait_on_page_locked_killable(), remove it. Signed-off-by: Kefeng Wang Reviewed-by: Matthew Wilcox (Oracle) --- include/linux/pagemap.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index 6f8d6529b350..351c3b7f93a1 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -1129,11 +1129,6 @@ static inline void wait_on_page_locked(struct page *page) folio_wait_locked(page_folio(page)); } -static inline int wait_on_page_locked_killable(struct page *page) -{ - return folio_wait_locked_killable(page_folio(page)); -} - void wait_on_page_writeback(struct page *page); void folio_wait_writeback(struct folio *folio); int folio_wait_writeback_killable(struct folio *folio);