Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rik van Riel <riel@surriel.com>
To: Xueyuan Chen <xueyuan.chen21@gmail.com>,
	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>
Cc: Shakeel Butt <shakeel.butt@linux.dev>,
	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 11:36:42 -0500	[thread overview]
Message-ID: <8b372e6dbcdc0d8cec43b832fdb94971deee9c19.camel@surriel.com> (raw)
In-Reply-To: <20261127-socket_pressure-v1-1-1d3a60c1dbb7@gmail.com>

On Fri, 2026-11-27 at 20:27 +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>
> 
Reviewed-by: Rik van Riel <riel@surriel.com>

-- 
All Rights Reversed.


      reply	other threads:[~2026-11-28 16:37 UTC|newest]

Thread overview: 2+ 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 [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=8b372e6dbcdc0d8cec43b832fdb94971deee9c19.camel@surriel.com \
    --to=riel@surriel.com \
    --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=rppt@kernel.org \
    --cc=shakeel.butt@linux.dev \
    --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