From patchwork Mon Nov 4 17:52:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kairui Song X-Patchwork-Id: 13861758 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 0B172D1BDD5 for ; Mon, 4 Nov 2024 17:55:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 905166B0093; Mon, 4 Nov 2024 12:55:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8C0B96B0095; Mon, 4 Nov 2024 12:55:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 72E9F6B0096; Mon, 4 Nov 2024 12:55:07 -0500 (EST) 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 541766B0093 for ; Mon, 4 Nov 2024 12:55:07 -0500 (EST) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 021811A06C4 for ; Mon, 4 Nov 2024 17:55:06 +0000 (UTC) X-FDA: 82749163518.14.91425CD Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by imf03.hostedemail.com (Postfix) with ESMTP id 506ED20013 for ; Mon, 4 Nov 2024 17:54:50 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=KgjLReEo; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf03.hostedemail.com: domain of ryncsn@gmail.com designates 209.85.210.170 as permitted sender) smtp.mailfrom=ryncsn@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1730742738; 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=qzULfnxx/PY2zPKAoHEw7ZgfeSZIMyVl8FxRbLFN7FU=; b=2gWgdBc/QlvJ/sBIyCw6v2nu0IMxvD+hRiywny0c2hAu991xXF17mviJ1t2ycOtbYQHh6x E9YkvfyJLg+sfzN43OnSrvEHUpzHTbx5y2ff06xbjvTty4jEderZ339ULaFH4lKO82sO2a wuxTvyOp9g1sPySOqeYLj6jMLRoeLr8= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=KgjLReEo; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf03.hostedemail.com: domain of ryncsn@gmail.com designates 209.85.210.170 as permitted sender) smtp.mailfrom=ryncsn@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1730742738; a=rsa-sha256; cv=none; b=dN7m2muPLpImQjO72fTNjxrnz5GAtoVlKKgjF4mkky62SeeM1yvrfpdTL8OOsLPJFN3d5r fY1ZZRx9J58V/RB6ZM/SKK01aA4Gkmt+FVV0D+2zacKO5OomtOEj1OFMyb0MeWJ8iaWw72 He4uJe8ge/0io/4gnLZXKfyDJRxJgBY= Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-71e592d7f6eso3544739b3a.3 for ; Mon, 04 Nov 2024 09:55:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730742903; x=1731347703; 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=qzULfnxx/PY2zPKAoHEw7ZgfeSZIMyVl8FxRbLFN7FU=; b=KgjLReEoT3S05uJXjIl6gPLbeWW351RSaNbtiIqBydLejNQ1jopkWVD8MnmcqihvYI mZeL5ESX04y0CIzSvN3sSPI0DzZbiKdAYPMzErFaGSJNsICS6K0a+TLHotN2YqJ9rp4t W6fmf9OpD2yefz2PVIveGGD5nFJLzs3VSzl/lfBVjmbuzSpykVIHhHoKJ/9ygEgFIgKz VRll3RKf5Dtf9BEaXfP86HfJF0j2l0J1j9yzZUI0hfOwWgIZJnNyEGaNAlU31NkCFhsb n4hNguD490sjpwn7PE7A7Q5LMOk1KrXzTiFRxYVbGGhg1dQiOj3C+FdVque9JXVS+vBL QCKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730742903; x=1731347703; 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=qzULfnxx/PY2zPKAoHEw7ZgfeSZIMyVl8FxRbLFN7FU=; b=HoRIwuk4OqqiMSuhGSYkwHZeNZw3xYwUYcn2LaZfLPUAGqPXJ30M+4PuIdc3rmvSwC ciM6Oy5819YOivl/WyAbaXyREOd6L0DJhztmhWu/6/zOKmGkVRgKkiKEVi4AIzot/WFO coEJIWw1rVHxkKRzALyrddJ24pbVejbzHp6jUsYW9+KQIl9nDsCiPYn6cGNBSepgNgpK t/v1xHTuWVZ0lHHBiyn3qMCO/0WEmAAABEj3ws9f8qEowYSWU/i85fz5Euom4dvdEJvo nt8R3rIaOPDvY1ij+3sD8OmKzm6Cuw98mh/JEKQwqQQtBqtPlTdnJsRdGLknIJTZvQwq v36A== X-Gm-Message-State: AOJu0YzOm8ZChKaadzkAv8qnI2pwzgeZQWmoWIClRpdQVmQFKEXJikuI HMjp3uxzUjWFyRxOckySvUKUfTGEO56JoTpyptTufg8/zBAIb/bBf/x37ZPqpe8= X-Google-Smtp-Source: AGHT+IFHDG/ffQeflGvIVKhJ59EpVHezCKKz7j32EsQ6iF8cb47lZX1SxGzgWXQovDhSMjTSEj1uTw== X-Received: by 2002:a05:6a00:b47:b0:718:ea3c:35c3 with SMTP id d2e1a72fcca58-720c99111ebmr17962004b3a.15.1730742903327; Mon, 04 Nov 2024 09:55:03 -0800 (PST) Received: from KASONG-MC4.tencent.com ([106.37.121.39]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-720bc1e5f5bsm7777039b3a.55.2024.11.04.09.54.59 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 04 Nov 2024 09:55:02 -0800 (PST) From: Kairui Song To: linux-mm@kvack.org Cc: Andrew Morton , Matthew Wilcox , Johannes Weiner , Roman Gushchin , Waiman Long , Shakeel Butt , Michal Hocko , Chengming Zhou , Qi Zheng , Muchun Song , Kairui Song Subject: [PATCH v3 2/6] mm/list_lru: don't export list_lru_add Date: Tue, 5 Nov 2024 01:52:53 +0800 Message-ID: <20241104175257.60853-3-ryncsn@gmail.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241104175257.60853-1-ryncsn@gmail.com> References: <20241104175257.60853-1-ryncsn@gmail.com> Reply-To: Kairui Song MIME-Version: 1.0 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 506ED20013 X-Stat-Signature: 7frrmpy3hipwwtj38ghy6pcohurzhxrd X-Rspam-User: X-HE-Tag: 1730742890-145749 X-HE-Meta: U2FsdGVkX1+d2BRgnx18ebP3lF41LfUpeHtH8mcJ70Yx4W69RkwsGe8tdKBAV24p/gheQ+nLfZuY9uKljqNqy40zezMrGne636kCD2Ydq0wTWuZEak4AhkxiaPjqzb5OnJUY+DpaJpMNcSVT6YkSHvWUHP0FqOo9581eqq5QDInZfNCkNzT7yN9BHR9LIBN5tVulamT//0NGYsQHCMgcrCLgYg9hGsoZHcc9TS558UrTJUPgRjgM6OHpWAHyvkKPPQ1cRRqLpa3AP9yBrZHfcDMS0xZU6ERSfOqrYC669pfLKHjUBlU/kktcylI/mh+oMU0gftQIxkQWuA7/uUFF6lDwPWfV5V9yok/QXegTdM6CkQ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/8mseVskodWP2k+Gb3CI4JBD0XO83cS9YQ5WYtSxQciy/2cu167Qq4cz64FvmLlQcmz+iiGg42egx/l2KOSwfNRIWSdBaGHbGqlhqy9gHlxV58DqXgwo0Ubjk/F3/Y+2K4LxQYDiTFutfpSV+mAqvDhu07SbFelPcCy 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 Acked-by: Shakeel Butt --- mm/list_lru.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/list_lru.c b/mm/list_lru.c index ea7dc9fa4d05..a798e7624f69 100644 --- a/mm/list_lru.c +++ b/mm/list_lru.c @@ -106,7 +106,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) {