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

Andrew Morton
2024-04-04T02:07:13Z

On Mon, 1 Apr 2024 13:26:48 -0700 "Vishal Moola (Oracle)" <vishal.moola@gmail.com> 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