From patchwork Mon Jun 24 17:53:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kairui Song X-Patchwork-Id: 13709938 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 98095C2D0D1 for ; Mon, 24 Jun 2024 17:53:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2B2356B0107; Mon, 24 Jun 2024 13:53:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 261D86B0191; Mon, 24 Jun 2024 13:53:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0B9706B01A0; Mon, 24 Jun 2024 13:53:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id DF07C6B0107 for ; Mon, 24 Jun 2024 13:53:37 -0400 (EDT) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 78BDCA1207 for ; Mon, 24 Jun 2024 17:53:37 +0000 (UTC) X-FDA: 82266529674.29.1DE89A8 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by imf02.hostedemail.com (Postfix) with ESMTP id 8DB2480017 for ; Mon, 24 Jun 2024 17:53:35 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gCsfOxKr; spf=pass (imf02.hostedemail.com: domain of ryncsn@gmail.com designates 209.85.210.170 as permitted sender) smtp.mailfrom=ryncsn@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1719251601; h=from:from:sender:reply-to: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:in-reply-to:references:references:dkim-signature; bh=iYA+NHa6msAwaVpTWCBZybumiU03pSVsUDbxtEtbQvM=; b=koESY1i7o+tKMAOVbhUjGBLwO8XKSN45YXQOZErs1NbP4ekBpG2GjK2Yun0PbLXwF00huw 0k965vBwlZqs5r9UpvJNjZU81uyQ4rzy5/GA5P1hxMAUNhjxqdY9W+6488iHp+2jCJ75iq AY4VQI7qOkNuxuLmyajz7tczQS3KNUY= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1719251601; a=rsa-sha256; cv=none; b=eJGDQOWBcypNOF+wHcCimrPUAAiq6yBvFLnP1jwkE21nplLrOAr5vL5Hq/DBOhKqpoKtFe mZyefeXK2bISr2wKouZGKZPPmvfEeJdaAv8WpG/qhlA7DpBZKiVtg+qe5GLIbhNrzKt5gu 6FVK3hM8YLNqtHifqYGmc1vo9Kl9KdM= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gCsfOxKr; spf=pass (imf02.hostedemail.com: domain of ryncsn@gmail.com designates 209.85.210.170 as permitted sender) smtp.mailfrom=ryncsn@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-7067435d376so1120418b3a.0 for ; Mon, 24 Jun 2024 10:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719251614; x=1719856414; darn=kvack.org; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=iYA+NHa6msAwaVpTWCBZybumiU03pSVsUDbxtEtbQvM=; b=gCsfOxKrQ4vS30aLd/6+4W4ngjvntZ34U4meEsd3MdwvU4O5Mu3j+RT/8PdiWAFTHf do312S5GV5pSaIhyCtC7+hfN3kiLiF8joxMsaPExJeOMVqJT4Yamg2lEXi3oVJA/YhOf YNzR0/k7MowomNsgf5zf0WcDJMxMLXoPhdRBYao3zt6R2amlJwypylQYpLUB3w2/hUnE xx1bXw8hvL8JeO7Vg0TfaiUrUlZ3dj3KzcPCohDXHGdu0ehij4TxVtWvcNxz61IAVyNC uTl4VjgY1bz+/AxAGc9Pii3KpE1wqV732QsExyjsO2dbmhiQiROHKvbxrEZdlvv2GV6t +R7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719251614; x=1719856414; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=iYA+NHa6msAwaVpTWCBZybumiU03pSVsUDbxtEtbQvM=; b=gyHx8HwrEmnEvJ6B95p7+5pExYMEJWeTBfOM2B/PEom7pe39b1dXkbCAqiKMFO4FgS H/j6ibHykET8K19XC/AMBbv+kAy8FEevl+2C6N6PONPTc4834M16TcupX4HAXJBgcFHD uA4i6sXCxU9J5N/HHXUWFNGHmqs4izJHcld9yMkQdI8hxS5Li5rQbbCpGg+3UU0R0UhD craLKMd84Nvo1WVTiApQddCQmFYoRIga7prGpAgXbF/eLOPkIngVI8u63hQ8s/8eZWZ8 zQKPXFt+KRPqKFjQ2DC1eWq1b+OtfvMkM20cOF0skqgmNw1tEoTvUUBT0M1X6pfD/RjA 2Zdg== X-Gm-Message-State: AOJu0YxxazeycDPY5SQUJ3wOe2FOsfWTQBev7XmbsKDGcLyk7rDfAg7f c+sN4ztVBZ8xYbiMkSAGQwrKyREBNTEvaZnC0vTI+GnaiPqhXkiC9yaomiIIwjc= X-Google-Smtp-Source: AGHT+IGq7LqK9mTAr648RaJ2ZzqOnRA2mJEODo+ep/Z7VccTOgDkPtJQGFP3fuCk+dbeRi6FpF47jg== X-Received: by 2002:a05:6a00:8a09:b0:706:6c3f:ea62 with SMTP id d2e1a72fcca58-7066c3feb07mr7486354b3a.2.1719251614037; Mon, 24 Jun 2024 10:53:34 -0700 (PDT) Received: from KASONG-MC4.tencent.com ([101.32.222.185]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70662ee117asm5008049b3a.211.2024.06.24.10.53.30 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 24 Jun 2024 10:53:33 -0700 (PDT) From: Kairui Song To: linux-mm@kvack.org Cc: Andrew Morton , Matthew Wilcox , Johannes Weiner , Roman Gushchin , Waiman Long , Shakeel Butt , Nhat Pham , Michal Hocko , Chengming Zhou , Qi Zheng , Muchun Song , Chris Li , Yosry Ahmed , "Huang, Ying" , Kairui Song Subject: [PATCH 3/7] mm/list_lru: don't export list_lru_add Date: Tue, 25 Jun 2024 01:53:09 +0800 Message-ID: <20240624175313.47329-4-ryncsn@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240624175313.47329-1-ryncsn@gmail.com> References: <20240624175313.47329-1-ryncsn@gmail.com> Reply-To: Kairui Song MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 8DB2480017 X-Stat-Signature: tir435grasai7f3k3qjrdgupk9dixjz8 X-HE-Tag: 1719251615-429067 X-HE-Meta: U2FsdGVkX1+4/RogKd9OgeflQvMiAMuNgJ+qU8rthRvyL1KIKPVCo4wHlpw8ogdINq+QQZlohsGzih0I9vTcJwGA+oOcTAeArKWqNs/7OafMPqrjIcAKG/wu0R8YK+aibc5rVdsOm3ATbxSbAMV+LAqjEsR03RpDZAb49mCvl8R679RzYkSuTJDqIHWgg1QEtepl5KvOq4cWUL7QpT/hDdXskY4orQTZ6bwTtznMuPXMpKaF7xA7HAuHlO8cNDZO4HgRHi5qnCc2MpwP1VQDOgkLlifJ1FqiIXxPxhSHofPVQv8NedVa5PYC1iouBH0EidVDSL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ywuvLuMOwEMoCEvSdwH/pSy4mN/urta4mXZm0hXxT51yfwAV0mJDTw0hhDXbeAwKz7n3za03ZF5tfmDQxed7GAETXZfQ+CuO9YO3wrX0djV+Y9N+43wfVQKf3OXvN63+0ABQ/6fPbljEVYRE0+kQN7fwMjDF1hw8dafk0JsS95nTfp0qql9kJEF/Q4MOfpn3Tx+PhkHic= 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: From: Kairui Song It's no longer used by any module, just remove it. Signed-off-by: Kairui Song Reviewed-by: Muchun Song --- mm/list_lru.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/list_lru.c b/mm/list_lru.c index 264713caa713..9d9ec8661354 100644 --- a/mm/list_lru.c +++ b/mm/list_lru.c @@ -105,7 +105,6 @@ bool list_lru_add(struct list_lru *lru, struct list_head *item, int nid, spin_unlock(&nlru->lock); return false; } -EXPORT_SYMBOL_GPL(list_lru_add); bool list_lru_add_obj(struct list_lru *lru, struct list_head *item) {