[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250401120146.8d3533b39968df5e0712acb3@linux-foundation.org>
Date: Tue, 1 Apr 2025 12:01:46 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Nhat Pham <nphamcs@...il.com>
Cc: hannes@...xchg.org, yosryahmed@...gle.com, yosry.ahmed@...ux.dev,
chengming.zhou@...ux.dev, linux-mm@...ck.org, kernel-team@...a.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] page_io: return proper error codes for
swap_read_folio_zeromap()
On Tue, 1 Apr 2025 11:55:31 -0700 Nhat Pham <nphamcs@...il.com> wrote:
> On Thu, Mar 6, 2025 at 3:00 PM Nhat Pham <nphamcs@...il.com> wrote:
> >
> > Similar to zswap_load(), also return proper error codes for
> > swap_read_folio_zeromap():
> >
> > * 0 on success. The folio is unlocked and marked up-to-date.
> > * -ENOENT, if the folio is entirely not zeromapped.
> > * -EINVAL (with the follio unlocked but not marked to date), if the
> > folio is partially zeromapped. This is not supported, and will SIGBUS
> > the faulting process.
> >
> > This patch is purely a clean-up, and should not have any behavioral
> > change. It is based on (and should be applied on top of) [1].
> >
> > [1]: https://lore.kernel.org/linux-mm/20250306205011.784787-1-nphamcs@gmail.com/
> >
> > Suggested-by: Yosry Ahmed <yosry.ahmed@...ux.dev>
> > Suggested-by: Johannes Weiner <hannes@...xchg.org>
> > Signed-off-by: Nhat Pham <nphamcs@...il.com>
>
> Hi Andrew, I think Yosry and Johannes signed off on this patch (with
> the fixlet). Looks like it was not merged for 6.15-rc1 - let me know
> if there is something I need to do.
Thanks, seems it fell through a crack.
> It's mostly a clean up with no (intended) behavioral change, so no
> rush of course.
Yup, I'll toss it onto the after-merge-window pile.
Powered by blists - more mailing lists