All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Altan Hacigumus <ahacigu.linux@gmail.com>
Cc: David Hildenbrand <david@kernel.org>,
	Johannes Weiner <hannes@cmpxchg.org>,
	Kairui Song <kasong@tencent.com>, Qi Zheng <qi.zheng@linux.dev>,
	Shakeel Butt <shakeel.butt@linux.dev>,
	Barry Song <baohua@kernel.org>,
	Axel Rasmussen <axelrasmussen@google.com>,
	Yuanchu Xie <yuanchu@google.com>, Wei Xu <weixugc@google.com>,
	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>,
	Jiayuan Chen <jiayuan.chen@shopee.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm/vmscan: clear hopeless kswapd when global direct reclaim makes progress
Date: Fri, 10 Jul 2026 17:39:50 -0700	[thread overview]
Message-ID: <20260710173950.cc42b1b9c8d25fb02b29cf00@linux-foundation.org> (raw)
In-Reply-To: <CALjTKDkqCnT=AYS3VQPYE7SEqRHDHZvUt=8upRnRQDOpnjbfyA@mail.gmail.com>

On Thu, 9 Jul 2026 21:04:20 -0700 Altan Hacigumus <ahacigu.linux@gmail.com> wrote:

> > Does this change have any user-visible effect?  If so, please describe
> > in elaborate detail.
> >
> 
> Yes, the effect is visible on systems where a db workload mlocks 80%+
> of memory and the remaining memory is under continuous pressure:
> allocations stall long enough that ordinary tasks (e.g. ssh) become
> slow or unresponsive.
> 
> > If not then that's OK - we make such changes all the time, but they're
> > less fun.
> >
> This was introduced by commit dc9fe9b7056a; for long before it, any
> reclaim progress revived kswapd. Now only a balanced node clears the
> hopeless state, which is too restrictive for global direct reclaim.

Great, thanks.  Please get this info into the changelog and maintain it!

I'll park the patch for a week or so, give reviewers time to catch up.


  reply	other threads:[~2026-07-11  0:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-10  2:44 [PATCH] mm/vmscan: clear hopeless kswapd when global direct reclaim makes progress Altan Hacigumus
2026-07-10  3:22 ` Andrew Morton
2026-07-10  4:04   ` Altan Hacigumus
2026-07-11  0:39     ` Andrew Morton [this message]
2026-07-14 11:34 ` Michal Hocko
2026-07-15  2:32   ` Altan Hacigumus
2026-07-15  7:12     ` Michal Hocko

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=20260710173950.cc42b1b9c8d25fb02b29cf00@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=ahacigu.linux@gmail.com \
    --cc=axelrasmussen@google.com \
    --cc=baohua@kernel.org \
    --cc=david@kernel.org \
    --cc=hannes@cmpxchg.org \
    --cc=jiayuan.chen@shopee.com \
    --cc=kasong@tencent.com \
    --cc=liam@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=ljs@kernel.org \
    --cc=mhocko@suse.com \
    --cc=qi.zheng@linux.dev \
    --cc=rppt@kernel.org \
    --cc=shakeel.butt@linux.dev \
    --cc=surenb@google.com \
    --cc=vbabka@kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.