Re: Calls to do_swap_page() from handle_pte_fault() on a system where swap is not configured

From: Gregory Price

Date: Wed Dec 03 2025 - 17:28:51 EST


On Wed, Dec 03, 2025 at 11:12:23PM +0100, David Hildenbrand (Red Hat) wrote:
> >
> > From 92de7131f74b9300ea711ceae98bbe137cf0058f Mon Sep 17 00:00:00 2001
> > From: Gregory Price <gourry@xxxxxxxxxx>
> > Date: Wed, 3 Dec 2025 03:12:44 -0500
> > Subject: [PATCH] mm: rename do_swap_page to do_softleaf_page
> >
> > do_swap_page is a stale function name with introductio of softleaf.
>
> The "page" in "softleaf_page" is weird.
>
> In general, the "do_*" is weird as well.
>
> fault_handle_softleaf? Something like that?
>

Reasonable. I will probably come back around on this after LPC.

> --
> Cheers
>
> David