From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795963098; b=HePDRVKaykrrQFaCjXavi4XwZGUaxGcjwf1mfJBcDM4GcBGEmge9h3PBXY+92f2yl2Tj Ocj3r1V/b6rLatQhxrGnITdc44oAJKMfmxAHJ6Xe92NcNNaUd/kQpIBcVa14+RK0G+wWc w+ZuyI/Rgsket7fMwqa7NhfYy1npSuX9pF7vUOdlRdt7wQmAYUUrGJ/lRBRKFkfDp30Ab AajzcS0d5y2j6g0owRZEBfcp80ylIecUcTBFW2eZxbBksLythGrqBGzEEckXywobYg9js qCaGq9Eo9FvNG6iYzBIho9wJQKfubJDDiOJZ1ZeyHeqwtVf0ebvG7LxarArGkMufR+w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795963098; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-Id:X-Mailer: MIME-Version:Content-Transfer-Encoding; bh=Gin5/KfH+jOm6xY9XkE7jURmmwF2/kFm6zkovVy81jE=; b=QfgbYAoBwpHxHsLq+JwnBnubM39byPSQcPj56PlkbrDh7DOh1Kpp0ZbW/C1UuG+6VHjb oIqu5vZWs0r4xz8ZszxopE2sqTR/QGfnI7PklkJxZI/UpQ3kMSrkE7/epBWJaijxiq+Hy mavFuN5BrZ6RiUQIlQB8MWEXqs3Y1G155jJqxXT3eU457JRu5/SQtPHAe2zJZsAtxQ0/q TZKwKsqI1lSWGGtiGltUyFj5qDHLbZKeC8vmvSpmnBD+8inbdyFbfott9oe/a6S7wtqk9 U3UeUyZPzURa1qmV9jbfOJ8qdcfqmd/HHNq+1S9lHRps8v/lSpnaV4WGaiwSC4BFaiQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="AsH1oWZ/"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E429606A323 for ; Sun, 29 Nov 2026 14:38:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AsH1oWZ/ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 195351F000C1; Sun, 29 Nov 2026 14:38:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795963097; bh=Gin5/KfH+jOm6xY9XkE7jURmmwF2/kFm6zkovVy81jE=; h=From:To:Cc:Subject:Date; b=AsH1oWZ/6AILWJeubfcegHFw7nU992PSq7hFY0Pmrfp4IwCCZJJpmvtNsGtvANz0X n8GQIzGpv9/ysywgI0CyEijm6Mj+OPgHEFjZZxhA/pxjjtifL1oj/EyMxb5FY1UKQG FK65Q+mHpzPpXXGAzYq9vCjwxP/u4mQMFAH00dceClkQxRm1TtRQrSd7ZzGo7zOAyb 7swYRariMKV5+u1jnY8xsnOZc/wUoI2K9ORdtohwIlS3iNAdYETxJExsHX0q/6fP9l m/I/QHUq9inm854tqy/f/Yhvr2gSpooZYQ/zO8giK7Kktc+dYFTjyqpK4uyrhZ2Y6E HgI2xgk/3CUFQ== From: "Barry Song (Xiaomi)" To: akpm@linux-foundation.org Cc: hannes@cmpxchg.org, mhocko@kernel.org, qi.zheng@linux.dev, shakeel.butt@linux.dev, kasong@tencent.com, axelrasmussen@google.com, yuanchu@google.com, weixugc@google.com, baoquan.he@linux.dev, baolin.wang@linux.alibaba.com, mason@kernel.org, david@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, ridong.chen@linux.dev, yuzhao@google.com, "Barry Song (Xiaomi)" Subject: [PATCH 0/3] mm/mglru: fix a few reclaim issues Date: Sun, 29 Nov 2026 22:37:56 +0800 Message-Id: <20261129143759.96221-1-baohua@kernel.org> X-Mailer: git-send-email 2.39.3 (Apple Git-146) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series contains three MGLRU fixes originally proposed by Chris Mason and passed on to us by David Hildenbrand. The issues addressed are: 1. Reparented folios becoming unreclaimable due to generation accounting falling outside the parent's [min_seq, max_seq] range. 2. A potential deadlock between reclaim and compaction when isolating folios. 3. Missing vmpressure notifications for global reclaim on cgroup v1. Kairui and I have reviewed the fixes and made minor adjustments where necessary. The series is based on mm-new. Chris Mason (3): mm/mglru: count all generations as evictable mm/mglru: test PG_lru before taking a folio reference mm/mglru: report root reclaim to memory.pressure_level mm/vmscan.c | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) -- 2.39.3 (Apple Git-146)