Message ID | 20220120131024.502877-1-alexs@kernel.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 23C0AC433EF for <linux-mm@archiver.kernel.org>; Thu, 20 Jan 2022 13:10:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A08AF6B0099; Thu, 20 Jan 2022 08:10:51 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9B89B6B009C; Thu, 20 Jan 2022 08:10:51 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8A6E86B009D; Thu, 20 Jan 2022 08:10:51 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0023.hostedemail.com [216.40.44.23]) by kanga.kvack.org (Postfix) with ESMTP id 7F8566B0099 for <linux-mm@kvack.org>; Thu, 20 Jan 2022 08:10:51 -0500 (EST) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 3D7D0181D3042 for <linux-mm@kvack.org>; Thu, 20 Jan 2022 13:10:51 +0000 (UTC) X-FDA: 79050700302.27.B591EB9 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf17.hostedemail.com (Postfix) with ESMTP id C97714001F for <linux-mm@kvack.org>; Thu, 20 Jan 2022 13:10:50 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BB8C46170B; Thu, 20 Jan 2022 13:10:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D8364C340E0; Thu, 20 Jan 2022 13:10:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642684249; bh=aDoZ/3URPFdhRIJ6USCLyACTjwD8GaFFaNpMXe6l2eo=; h=From:To:Cc:Subject:Date:From; b=NVMOla5YHMD7FWeXo6bwCJbkXkzPJTxMqIUCIa/cjMQmzAY7/jROfDw9v9HpoDA1p i7icKGQROabEpOo6IBhuDM3F09eNmHKkfb9rbh5PJuu4iNZqoYlVhldXDqHl42zF8D ltY3Mfe1t2BU/b2+Tg61TnYwkAD8J/dy/ANbmxMFuYiinJainUGjlk4v+jBUu1ZW8C fhcOqGMNp5TzyGvieUq9Rr/b47e9Ab9CukZQ3MgQpevRrMNFGhndBCKtagtq+/cOmu IJN8FAKOViYrDlS5YF36B2j/CB03e1vyd1juxRqcgepI64qBPWHF8bZEZ/jPAAROLy rO6Oitr2d50LA== From: alexs@kernel.org To: Andrew Morton <akpm@linux-foundation.org> Cc: Alex Shi <alexs@kernel.org>, Steven Rostedt <rostedt@goodmis.org>, Ingo Molnar <mingo@redhat.com>, Naoya Horiguchi <naoya.horiguchi@nec.com>, Yu Zhao <yuzhao@google.com>, Arnd Bergmann <arnd@arndb.de>, Vlastimil Babka <vbabka@suse.cz>, Mel Gorman <mgorman@techsingularity.net>, Johannes Weiner <hannes@cmpxchg.org>, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 0/5] remove add/del page to lru functions Date: Thu, 20 Jan 2022 21:10:19 +0800 Message-Id: <20220120131024.502877-1-alexs@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: C97714001F X-Stat-Signature: ur7c13tfp67giwc4pqozckzci7gmit4p Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=NVMOla5Y; spf=pass (imf17.hostedemail.com: domain of alexs@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=alexs@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-HE-Tag: 1642684250-304602 Content-Transfer-Encoding: quoted-printable 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: <linux-mm.kvack.org> |
Series | remove add/del page to lru functions | expand |
From: Alex Shi <alexs@kernel.org> Couple of old page/lru operation funcs are just inline replaced. Remove them to reduce function name remember and make code simple. Thanks Alex Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Naoya Horiguchi <naoya.horiguchi@nec.com> Cc: Yu Zhao <yuzhao@google.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org Alex Shi (5): mm: remove page_is_file_lru function mm: remove __clear_page_lru_flags() mm: remove add_page_to_lru_list() function mm: remove add_page_to_lru_list_tail() mm: remove del_page_from_lru_list() include/linux/mm_inline.h | 28 ---------------------------- include/trace/events/vmscan.h | 2 +- mm/compaction.c | 4 ++-- mm/gup.c | 2 +- mm/khugepaged.c | 4 ++-- mm/memory-failure.c | 2 +- mm/memory_hotplug.c | 2 +- mm/mempolicy.c | 2 +- mm/migrate.c | 14 +++++++------- mm/mlock.c | 2 +- mm/mprotect.c | 2 +- mm/swap.c | 22 +++++++++++----------- mm/vmscan.c | 23 ++++++++++++----------- 13 files changed, 41 insertions(+), 68 deletions(-)