Message ID | 20240925171020.32142-3-ryncsn@gmail.com (mailing list archive) |
---|---|
State | New |
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 006E0CCF9E7 for <linux-mm@archiver.kernel.org>; Wed, 25 Sep 2024 17:10:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 703FF6B00B6; Wed, 25 Sep 2024 13:10:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 68D7D6B00B7; Wed, 25 Sep 2024 13:10:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 52F6E6B00B8; Wed, 25 Sep 2024 13:10:38 -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 2A9616B00B6 for <linux-mm@kvack.org>; Wed, 25 Sep 2024 13:10:38 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id A8A651C5DD5 for <linux-mm@kvack.org>; Wed, 25 Sep 2024 17:10:37 +0000 (UTC) X-FDA: 82603899714.23.086B4BA Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by imf01.hostedemail.com (Postfix) with ESMTP id C29984000A for <linux-mm@kvack.org>; Wed, 25 Sep 2024 17:10:35 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=HGDAuc+O; spf=pass (imf01.hostedemail.com: domain of ryncsn@gmail.com designates 209.85.210.176 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=1727284199; 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=ugkeyXgfTV0GO7RmkzRXo60Me1ZfzTFWOxUy6uNr4Bw=; b=0BlVAPGkjpYGm8JD6ALZvxHsZ8tpZUGoUGTYKU7/SGuiwYI3uvocjXxtyaliZRS3TAqn44 TdyNBEd9gGR+QtffdfME8C5NVS8pBje5pVu8QMBczPjwMXdmA6G1WJQJOnFuWnxk59Dpyh MidHu51Szq6GxZhcWu0z97kwDpg6xuM= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=HGDAuc+O; spf=pass (imf01.hostedemail.com: domain of ryncsn@gmail.com designates 209.85.210.176 as permitted sender) smtp.mailfrom=ryncsn@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727284199; a=rsa-sha256; cv=none; b=0gAjrU9+aLuFFY/5MMT45DF0vU5ZFYGLNPzIojyJTN8yuZxDGzREvEo8xZHEFNtoaqALTD NoWJyQjXekkh/FN9xtilUi/WYEx/9sYi13tfpbOZP0V3v1vl20KkMo6LZMAfifI2fNmUEY uupDzbhzjrfPSvXAdr0m/Xigsme8KGU= Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-71957eb256bso105842b3a.3 for <linux-mm@kvack.org>; Wed, 25 Sep 2024 10:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727284234; x=1727889034; 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=ugkeyXgfTV0GO7RmkzRXo60Me1ZfzTFWOxUy6uNr4Bw=; b=HGDAuc+OX3jVcn3c3By2pallueSKEmmgxvghB5EwH2hVluEgNDaUBT42orvtGGZem4 xsrpEdjsHqvLXc9cDNiY9ormSTS+3vmqF6EnKzm+20+IZGkSGgpvvSuH5crEgio9Kft3 rsestrUGnEJy1QHP7Q3CFZy6qc/HaApiAGKid1aO4gFp0drBsMbdFe9FtPzTmcaNKBFN IqiaKwxYkeJZd+0a7gS5aqFOOD0dN59ENd2g4OzjYcZWxO3bD9t0hOT7F3IHdcYEyf19 B27A9N0XxbIgwNhkxz6IZgqf4IbGwlhUUDl00YiXXpXI0Gq0NApMCzMeN7wkb+INYyTn 3JrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727284234; x=1727889034; 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=ugkeyXgfTV0GO7RmkzRXo60Me1ZfzTFWOxUy6uNr4Bw=; b=fU009lpAjseisIG7xti2IPUpIICpV9GixHAXnoimfkS/UpbzoZBjKN+tW5R2umKqFB dxrg1IfEe42jeGxIBhQ+rhfLVMtOgoqKEVYyU2As8/rptcdq9OpQSEyyBsiLWXKib8ag VkFM+fn5krpp3ypuTaWxFZhmhA6adUg/4JrCeAbeul/OL+eYhtw6seovReWNlE+A0LVT Xwt/w4TZmemelNGgDFxr5vOkb79PfV/+mSYPLM3N42Tc9xmBmVNXHQBFPCxIGLI83qr6 OrpufWPu95X2PSgBBgMqBYtXve2gnnLtUiPi54lTpCyy1RFjeBOGfU2vrhslam5RHP6G WNSw== X-Gm-Message-State: AOJu0Yx2JQEEuRPq53oBHkhcNo+/BJWdVQ+KcgPSQdwqxF9ndSHc69kT 5dR2zwXA3oHf348Y1uId8dTxEikbm5fWDSqp0zmMZtJ+JBVQN6YjPV7kSBbQ X-Google-Smtp-Source: AGHT+IFAyzUsheEdhZ4GI1PJggXUZfoNdvdbvfOd6wDhSIhQicKIC94taAErChTkVetCABaeqdHROw== X-Received: by 2002:a05:6a00:3c83:b0:706:29e6:2ed2 with SMTP id d2e1a72fcca58-71b0aaa58efmr5161421b3a.5.1727284233275; Wed, 25 Sep 2024 10:10:33 -0700 (PDT) Received: from KASONG-MC4.tencent.com ([101.32.222.185]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71b032eb4f7sm2437900b3a.181.2024.09.25.10.10.30 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 25 Sep 2024 10:10:32 -0700 (PDT) From: Kairui Song <ryncsn@gmail.com> To: linux-mm@kvack.org Cc: Andrew Morton <akpm@linux-foundation.org>, Matthew Wilcox <willy@infradead.org>, Johannes Weiner <hannes@cmpxchg.org>, Roman Gushchin <roman.gushchin@linux.dev>, Waiman Long <longman@redhat.com>, Shakeel Butt <shakeel.butt@linux.dev>, Michal Hocko <mhocko@suse.com>, Chengming Zhou <zhouchengming@bytedance.com>, Qi Zheng <zhengqi.arch@bytedance.com>, Muchun Song <muchun.song@linux.dev>, Kairui Song <kasong@tencent.com> Subject: [PATCH v2 2/6] mm/list_lru: don't export list_lru_add Date: Thu, 26 Sep 2024 01:10:16 +0800 Message-ID: <20240925171020.32142-3-ryncsn@gmail.com> X-Mailer: git-send-email 2.46.1 In-Reply-To: <20240925171020.32142-1-ryncsn@gmail.com> References: <20240925171020.32142-1-ryncsn@gmail.com> Reply-To: Kairui Song <kasong@tencent.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Stat-Signature: dyqyegg94tnw3uaujnmrh69dwz8hmx8t X-Rspamd-Queue-Id: C29984000A X-Rspamd-Server: rspam11 X-HE-Tag: 1727284235-504864 X-HE-Meta: U2FsdGVkX18wUntJjSaRH4dTXLKzhbQ3SHR0HbzdIETbC+HMb+RIAtPM5DXvGzSghQsVSRyfXoFtyZHJWC6Y/o0RVm1kjYyl6xBIMviRbNpfmsyE29MP6m7M7tVnmF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HgAxb2Q4OWeymEMnl1HSbuT4KKpD6j8yirYzMfCIc4p6t3p72+qy/7CU+wopAYJ+6L+S2mH390ZLrKpKKsgo6/pVn8Q0m1Mao7fSN3bsdy5bazUMIM0DoHQVvjtqNJgI/yDNPxt6NehgWNjoJA3kAoDtdXhztx6U+b4cJHJHew+12kQBb7M0jiEh8kK0KSgFGL1/bxgZBikgXcznhSn/eMOuhNn7i3ZIQiL67iv7XGLrITt4qiO1LbWVmszzaOGWMytryS0O3nz9o55xsE8Fko4NYnDQ68Ayo6DNM2nio9QW0dsp0e5g3R20qzerCVQqMcqKuBQNiZWnpREH3NWosyrlI7ThJKruDFNrO40/4y X-Bogosity: Ham, tests=bogofilter, spamicity=0.000002, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Split list_lru lock into per-cgroup scope
|
expand
|
On Thu, Sep 26, 2024 at 01:10:16AM GMT, Kairui Song wrote: > From: Kairui Song <kasong@tencent.com> > > It's no longer used by any module, just remove it. > > Signed-off-by: Kairui Song <kasong@tencent.com> > Reviewed-by: Muchun Song <muchun.song@linux.dev> Acked-by: Shakeel Butt <shakeel.butt@linux.dev>
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) {