Message ID | 20241116091658.1983491-1-chenridong@huaweicloud.com (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 3A0FBD68BE5 for <linux-mm@archiver.kernel.org>; Sat, 16 Nov 2024 09:26:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id ECAFE6B00C9; Sat, 16 Nov 2024 04:26:29 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E77316B00C7; Sat, 16 Nov 2024 04:26:29 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D18836B00CC; Sat, 16 Nov 2024 04:26:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id AC3576B00C7 for <linux-mm@kvack.org>; Sat, 16 Nov 2024 04:26:29 -0500 (EST) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 336B4ADD5E for <linux-mm@kvack.org>; Sat, 16 Nov 2024 09:26:29 +0000 (UTC) X-FDA: 82791425892.25.A2A30B7 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by imf28.hostedemail.com (Postfix) with ESMTP id 19401C0003 for <linux-mm@kvack.org>; Sat, 16 Nov 2024 09:25:38 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=none; spf=pass (imf28.hostedemail.com: domain of chenridong@huaweicloud.com designates 45.249.212.51 as permitted sender) smtp.mailfrom=chenridong@huaweicloud.com; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1731749097; 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-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=8P+Ay3IpJq4/6nvnLQxoM/0dzW/hSrwTC5Vssl2ASbs=; b=nHStw2toI/PyF8W4FCqcL4ZBeGiBFdhy8f6w5ajevY6h3Qw3w1pO0XrAu0KQ0cQ2y7YaMy FgLEEGAs+mTj0TR4onRg/Wllv9XzeeJRyd2UT62d98MSgfry8LId6IoJggtfFfehIL2R/y MmwM1zAJMo6MnPeUU1zthPPW8mtMJno= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1731749097; a=rsa-sha256; cv=none; b=g5CQ5rGYQya0X2PnVqTyjjEwaMtPio0Fx2095Vtzc7GIL73S74nX6qAVQwq7WEIMfUXEIo TCOoJGYGjhHj74J6ydgXvsFLci7NUCRc6mpwRlqs+5j0Hx3r5AmnVtIXv9EulzseklKm+i Z9Q8OOtX6ys6c8+/LG8z0/grXsEsExY= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=none; spf=pass (imf28.hostedemail.com: domain of chenridong@huaweicloud.com designates 45.249.212.51 as permitted sender) smtp.mailfrom=chenridong@huaweicloud.com; dmarc=none Received: from mail.maildlp.com (unknown [172.19.93.142]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4Xr7mY32gFz4f3l8D for <linux-mm@kvack.org>; Sat, 16 Nov 2024 17:26:05 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.128]) by mail.maildlp.com (Postfix) with ESMTP id AF2B41A07B6 for <linux-mm@kvack.org>; Sat, 16 Nov 2024 17:26:18 +0800 (CST) Received: from hulk-vt.huawei.com (unknown [10.67.174.121]) by APP4 (Coremail) with SMTP id gCh0CgDnDoMoZThnJYjBBw--.28482S2; Sat, 16 Nov 2024 17:26:16 +0800 (CST) From: Chen Ridong <chenridong@huaweicloud.com> To: akpm@linux-foundation.org, mhocko@suse.com, hannes@cmpxchg.org, yosryahmed@google.com, yuzhao@google.com, david@redhat.com, willy@infradead.org, ryan.roberts@arm.com, baohua@kernel.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, chenridong@huawei.com, wangweiyang2@huawei.com, xieym_ict@hotmail.com Subject: [RFC PATCH v2 0/1] mm/vmscan: move the written-back folios to the tail of LRU after shrinking Date: Sat, 16 Nov 2024 09:16:57 +0000 Message-Id: <20241116091658.1983491-1-chenridong@huaweicloud.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgDnDoMoZThnJYjBBw--.28482S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYa7kC6x804xWl14x267AKxVW8JVW5JwAF c2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII 0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26ryj6F1UM28EF7xv wVC0I7IYx2IY6xkF7I0E14v26F4j6r4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7 xvwVC2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40E FcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr 0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JM4IIrI8v6xkF7I0E8cxa n2IY04v7MxAIw28IcxkI7VAKI48JMxAqzxv26xkF7I0En4kS14v26r1q6r43MxC20s026x CaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_ JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r 1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwCI42IY6xAIw20EY4v20xvaj40_ Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8Jr UvcSsGvfC2KfnxnUUI43ZEXa7IU1zuWJUUUUU== X-CM-SenderInfo: hfkh02xlgr0w46kxt4xhlfz01xgou0bp/ X-Rspamd-Server: rspam10 X-Stat-Signature: pwo93643y64sy9adn55jwhejp7ezkqqn X-Rspamd-Queue-Id: 19401C0003 X-Rspam-User: X-HE-Tag: 1731749138-283200 X-HE-Meta: U2FsdGVkX1/8MpRwcf1kR26S+ZXplWfD9jhJmqMjzia6g0pAVAjxiNKFgKgQMHeO2lggocBmPck+q2B8LRluQFEdPfsJx+8yK73Njkj2cZTasATgVldknY+UJgn6snHIf8tqsZcZbF2mIKzhZJo9l0CiJicB8gqhHovupF0FdVaaoA2PisVGno6Cm+M/evCn4pjoVMBmvDcFgSlklfOXQYX29qnTo9PPLjfe9z22hHzrqi9tL8AoHiuBzmimq963430GyiKphr5bRm6aPBT5u56u2+MmWmpfLwqAfZDcKQ7oFciSTlNGKE3nxS9MnWkSV9rNJ6ot2xCKLx4HAr1HM3erH/6hun2TlYCAJ12xVazoV54+a19dkD9Zet54uAO7FKueRIjKqkG4NLPvotbTmBey7bWOvm0KXcoXtgB0RsZuV1+2elpGNrl0IJRrirbXA81+kNW/NvL5LPu/0NS4PNT0HYVoue45k22/rPMs/WfKHeEfTfSeOSsbl/oeVVaPm1NhHhZY5myRNDtE2lf0IAKKCqUYjTfS2bGRGcZbIeYNWtrMuAQrY/EL/HO69Yj4KB6GvIH7uaUbHFrs5yztKS6btC0zbAH69p6fZ/zXZYBBmcYxuedjheXqteAvvOCCmchywThvs6/jZIRjONS0wP0GDiTgqU3li6oS4xbIowdpp/oWywttqfZpt751TquvlEaZZ2EycaK4rxMw/h89+obBWRmVhWSwn5AqgMI3Hb6c5SX4+1k84WLATa18Oo0Alhj6lB7ZYbGAzIQeQogphoHJvRWrGwEc0gWApUHrmtJRoxXl5lufJU3+MnU37V2YRoijk394hzUGBlVR/EGKk1tr2abrM8JvPLqT74yyP2fTmbJBXCPqp2WM5qAz81ysDM5DbKT5wCfMH5/pxvA6z0GdSvcmWIppoyywTHY3srQhmhLpGcM66YHcN+qA3x8+dnX3/xfOPCgBlSJAGRc QUradFGH uHjd2+msr7pGjHhEWZ53ggB49zSRxbGK7AEgJ3gj0fms3KYjSXI69drl9cD8mkfZhlWgNS+hc1Dy2LxAdFWQIxb0R/rlmiHh0aeCkM5WgKLG0t31U+CUp6Fh1au6KRflGHcDONwtAs8t5kYD36tYmXZmuYLoxwwPmvc0lQJvkFEe0pHdKCwvi1MSBNw== 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> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
mm/vmscan: move the written-back folios to the tail of LRU after shrinking
|
expand
|
From: Chen Ridong <chenridong@huawei.com> The issue has been dissused [1]. This patch is following Barry's suggestion to fix this issue. --- v2: - detect folios whose writeback has done and move them to the tail of lru. suggested by Barry Song v1: [1] https://lore.kernel.org/linux-kernel/20241010081802.290893-1-chenridong@huaweicloud.com/ Chen Ridong (1): mm/vmscan: move the written-back folios to the tail of LRU after shrinking mm/vmscan.c | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-)