[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250822164415.52517-1-sj@kernel.org>
Date: Fri, 22 Aug 2025 09:44:15 -0700
From: SeongJae Park <sj@...nel.org>
To: Barry Song <21cnbao@...il.com>
Cc: SeongJae Park <sj@...nel.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
Chris Li <chrisl@...nel.org>,
Nhat Pham <nphamcs@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Chengming Zhou <chengming.zhou@...ux.dev>,
Johannes Weiner <hannes@...xchg.org>,
Yosry Ahmed <yosry.ahmed@...ux.dev>,
kernel-team@...a.com,
linux-kernel@...r.kernel.org,
linux-mm@...ck.org,
Takero Funaki <flintglass@...il.com>,
David Hildenbrand <david@...hat.com>,
Baoquan He <bhe@...hat.com>,
Kairui Song <kasong@...cent.com>
Subject: Re: [PATCH v4] mm/zswap: store <PAGE_SIZE compression failed page as-is
On Fri, 22 Aug 2025 12:48:27 +1200 Barry Song <21cnbao@...il.com> wrote:
> > > >
> > > > 1. remove it,
> > > > 2. keep it as is, or
> > > > 3. keep it, but account only -EINPROGRESS[1]
> > > >
> > > > If I'm not missing other options, I'm tempted to the first option (remove it)
> > > > since it doesn't change any existing things, and we can revisit later.
> > >
> > > I am fine with 1) removing it. Maybe add a log once print error on the
> > > error code if -EINPROGRESS, just to know such extreme error has been
> > > triggered.
> > > >
> > > > Please let me know if I'm missing other options or if you have other preferences.
> > >
> > > I just don't want to hide the extreme error case but I am also fine
> > > with just removing it. It is your call.
> >
> > Thank you for your opinion, Chris! Unless others have different opinions, I
> > will only remove the counter (option 1), since it is simplest and we can
> > consider adding another counter or error logs on top of it.
>
> Yes, that seems the best option—to remove the counter for now.
Thank you for making your opinion clear, Barry. I will post v5 soon.
Thanks,
SJ
[...]
Powered by blists - more mailing lists