Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Baoquan He <baoquan.he@linux.dev>
To: linux-mm@kvack.org
Cc: akpm@linux-foundation.org, david@kernel.org, kasong@tencent.com,
	baohua@kernel.org, qi.zheng@linux.dev, shakeel.butt@linux.dev,
	axelrasmussen@google.com, yuanchu@google.com, weixugc@google.com,
	baolin.wang@linux.alibaba.com
Subject: Re: [PATCH 0/4] skip empty PUD subtrees during aging with a PUD-level Bloom filter
Date: Tue, 24 Nov 2026 15:22:47 +0800	[thread overview]
Message-ID: <awU7RzHhn8FePuf8@bogon> (raw)
In-Reply-To: <20261120085806.781225-1-baoquan.he@linux.dev>

On 11/20/26 at 04:58pm, Baoquan He wrote:
> Problem
> =======
> 
> MGLRU's aging walks every PUD of every mm in the mm_list.  For a PUD whose
> 512 PMDs all fail the existing PMD-level Bloom filter, the walker still
> descends into the PUD and iterates all 512 PMD entries.  When an mm has no
> pages on a given node this is structural waste: lru_gen_use_mm() sets
> mm->lru_gen.bitmap to -1 (all nodes) on every context switch, so the aging
> walker of *every* node, e.g kswapd, direct reclaim, proactive aging walks
> the same mm.

This is v4 series, I forgot adding v4 mark in subject.
...


      parent reply	other threads:[~2026-11-24  7:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20  8:58 [PATCH 0/4] skip empty PUD subtrees during aging with a PUD-level Bloom filter Baoquan He
2026-11-20  8:58 ` [PATCH 1/4] mm/mglru: add MM_WALK_EMPTY stats and tracepoint Baoquan He
2026-11-21  8:59   ` sashiko-bot
2026-11-24  7:21     ` Baoquan He
2026-11-20  8:58 ` [PATCH 2/4] mm/mglru: add PUD-level Bloom filter state and generic helpers Baoquan He
2026-11-20  8:58 ` [PATCH 3/4] mm/mglru: skip cold PUD subtrees during aging Baoquan He
2026-11-21  8:59   ` sashiko-bot
2026-11-20  8:58 ` [PATCH 4/4] mm/mglru: count PUD subtrees skipped by the PUD-level filter Baoquan He
2026-11-24  7:22 ` Baoquan He [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=awU7RzHhn8FePuf8@bogon \
    --to=baoquan.he@linux.dev \
    --cc=akpm@linux-foundation.org \
    --cc=axelrasmussen@google.com \
    --cc=baohua@kernel.org \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=david@kernel.org \
    --cc=kasong@tencent.com \
    --cc=linux-mm@kvack.org \
    --cc=qi.zheng@linux.dev \
    --cc=shakeel.butt@linux.dev \
    --cc=weixugc@google.com \
    --cc=yuanchu@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox