diff options
author | 2024-04-01 13:26:51 -0700 | |
---|---|---|
committer | 2024-04-25 20:56:42 -0700 | |
commit | bd722058e34de4857bc554e786b7f41c747ad894 (patch) | |
tree | 31546451b5e00c31bcb0a697966545e2381d10ad /mm/truncate.c | |
parent | hugetlb: convert hugetlb_no_page() to use struct vm_fault (diff) | |
download | wireguard-linux-bd722058e34de4857bc554e786b7f41c747ad894.tar.xz wireguard-linux-bd722058e34de4857bc554e786b7f41c747ad894.zip |
hugetlb: convert hugetlb_wp() to use struct vm_fault
hugetlb_wp() can use the struct vm_fault passed in from hugetlb_fault().
This alleviates the stack by consolidating 5 variables into a single
struct.
[vishal.moola@gmail.com: simplify hugetlb_wp() arguments]
Link: https://lkml.kernel.org/r/ZhQtoFNZBNwBCeXn@fedora
Link: https://lkml.kernel.org/r/20240401202651.31440-4-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Muchun Song <muchun.song@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions