Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Shakeel Butt <shakeel.butt@linux.dev>
To: Xueyuan Chen <xueyuan.chen21@gmail.com>
Cc: David Hildenbrand <david@kernel.org>,
	Lorenzo Stoakes <ljs@kernel.org>,
	 "Liam R. Howlett" <liam@infradead.org>,
	Vlastimil Babka <vbabka@kernel.org>,
	 Mike Rapoport <rppt@kernel.org>,
	Suren Baghdasaryan <surenb@google.com>,
	 Michal Hocko <mhocko@suse.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	 Barry Song <baohua@kernel.org>,
	"JP Kobryn (Meta)" <jp.kobryn@linux.dev>,
	 Johannes Weiner <hannes@cmpxchg.org>,
	Jakub Kicinski <kuba@kernel.org>,
	 Rik van Riel <riel@surriel.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm/vmpressure: exclude costly-order reclaim from socket pressure accounting
Date: Sat, 28 Nov 2026 17:48:44 -0800	[thread overview]
Message-ID: <awuEYkPEcQEq-1n1@linux.dev> (raw)
In-Reply-To: <20261127-socket_pressure-v1-1-1d3a60c1dbb7@gmail.com>

On Fri, Nov 27, 2026 at 08:27:02PM +0800, Xueyuan Chen wrote:
> vmpressure() accumulates reclaim statistics but only checks the order
> of the last sample when closing a window. As a result, costly-order
> reclaim can still trigger socket pressure indirectly or discard
> accumulated low-order reclaim statistics.
> 
> Skip costly-order reclaim before updating the counters.
> 
> Fixes: f2a950170f7a ("mm/vmpressure: skip socket pressure for costly order reclaim")
> Signed-off-by: Xueyuan Chen <xueyuan.chen21@gmail.com>

Acked-by: Shakeel Butt <shakeel.butt@linux.dev>


      parent reply	other threads:[~2026-11-29  1:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 12:27 [PATCH] mm/vmpressure: exclude costly-order reclaim from socket pressure accounting Xueyuan Chen
2026-11-28 16:36 ` Rik van Riel
2026-11-29  1:48 ` Shakeel Butt [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=awuEYkPEcQEq-1n1@linux.dev \
    --to=shakeel.butt@linux.dev \
    --cc=akpm@linux-foundation.org \
    --cc=baohua@kernel.org \
    --cc=david@kernel.org \
    --cc=hannes@cmpxchg.org \
    --cc=jp.kobryn@linux.dev \
    --cc=kuba@kernel.org \
    --cc=liam@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=ljs@kernel.org \
    --cc=mhocko@suse.com \
    --cc=riel@surriel.com \
    --cc=rppt@kernel.org \
    --cc=surenb@google.com \
    --cc=vbabka@kernel.org \
    --cc=xueyuan.chen21@gmail.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