From: Andrew Morton <akpm@linux-foundation.org>
To: Richard Chang <richardycc@google.com>
Cc: 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>,
Johannes Weiner <hannes@cmpxchg.org>,
David Hildenbrand <david@kernel.org>,
Michal Hocko <mhocko@kernel.org>,
Lorenzo Stoakes <ljs@kernel.org>, Oleg Nesterov <oleg@redhat.com>,
Suren Baghdasaryan <surenb@google.com>,
"T . J . Mercier" <tjmercier@google.com>,
Martin Liu <liumartin@google.com>,
Minchan Kim <minchan@kernel.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Michal Hocko <mhocko@suse.com>
Subject: Re: [PATCH v4] mm: vmscan: abort proactive reclaim early when freezing for suspend
Date: Tue, 1 Sep 2026 16:15:35 -0700 [thread overview]
Message-ID: <20260901161535.70d685be6a70fea1f6e05b18@linux-foundation.org> (raw)
In-Reply-To: <CALC_0q_cap88s5JBzU=bEkN+66VvMi=e+2M1b_JsiTYmV2t21A@mail.gmail.com>
On Mon, 20 Jul 2026 20:04:30 +0800 Richard Chang <richardycc@google.com> wrote:
> Hi Andrew,
> Thanks for pointing that out.
>
> On Mon, Jul 20, 2026 at 1:23 PM Andrew Morton <akpm@linux-foundation.org> wrote:
> >
> > So 287d5fedb377 led to suspend failures on MGLRU-using kernels.
> >
> > That's a regression which justifies a Fixes: and a cc:stable, don't
> > people agree?
> >
> > AI review asked a couple of serious-sounding questions:
> > https://sashiko.dev/#/patchset/20260720044103.905191-1-richardycc@google.com
> >
>
> Hi Michal and Oleg,
>
> The -ERESTARTSYS concern raised during the AI review seems reasonable:
> 1. Over-Reclaim: If a task has already reclaimed 900MB of a 1GB
> request before being interrupted by a suspend, an -ERESTARTSYS would
> attempt to reclaim another 1GB when resuming, resulting in up to 1.9GB
> of over-reclaim.
> 2. Incompatibility Node-Reclaim: Since reclaim_store() unconditionally
> converts any non-zero return value from user_proactive_reclaim() into
> -EAGAIN, it will not restart the syscall for node reclaim.
> Given these constraints, do you think we should keep -EINTR in
> user_proactive_reclaim()?
It's been a long time. Did the above two issues receive consideration?
Thanks.
next prev parent reply other threads:[~2026-09-01 23:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CALC_0q8ntqjCwC6CBN_0h_z9-_+pDp8-pqQgZ39O2s8ke==9cQ@mail.gmail.com>
2026-07-17 18:12 ` [PATCH v3] mm: vmscan: abort proactive reclaim early when freezing for suspend Richard Chang
2026-07-17 18:47 ` Oleg Nesterov
2026-07-20 4:37 ` Richard Chang
2026-07-20 4:41 ` [PATCH v4] " Richard Chang
2026-07-20 5:23 ` Andrew Morton
2026-07-20 12:04 ` Richard Chang
2026-09-01 23:15 ` Andrew Morton [this message]
2026-07-21 12:32 ` Michal Hocko
2026-07-21 12:30 ` 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=20260901161535.70d685be6a70fea1f6e05b18@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=axelrasmussen@google.com \
--cc=baohua@kernel.org \
--cc=david@kernel.org \
--cc=hannes@cmpxchg.org \
--cc=kasong@tencent.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=liumartin@google.com \
--cc=ljs@kernel.org \
--cc=mhocko@kernel.org \
--cc=mhocko@suse.com \
--cc=minchan@kernel.org \
--cc=oleg@redhat.com \
--cc=qi.zheng@linux.dev \
--cc=richardycc@google.com \
--cc=shakeel.butt@linux.dev \
--cc=surenb@google.com \
--cc=tjmercier@google.com \
--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