Re: [PATCH v2 0/3] Hugetlb fault path to use struct vm_fault

From: Andrew Morton
Date: Wed Apr 03 2024 - 22:07:10 EST


On Mon, 1 Apr 2024 13:26:48 -0700 "Vishal Moola (Oracle)" <vishal.moola@xxxxxxxxx> wrote:

> This patchset converts the hugetlb fault path to use struct vm_fault.
> This helps make the code more readable, and alleviates the stack by
> allowing us to consolidate many fault-related variables into an
> individual pointer.

The .text shrunk a little. x86_64 defconfig:

52873 4015 13796 70684 1141c mm/hugetlb.o-before
52617 4015 13796 70428 1131c mm/hugetlb.o-after