aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorVishal Moola (Oracle) <vishal.moola@gmail.com>2024-04-01 13:26:50 -0700
committerAndrew Morton <akpm@linux-foundation.org>2024-04-25 20:56:42 -0700
commit7b6ec181de372a243e3ef285ae1a48f32d5c71ba (patch)
treee2913e2c2c5f68b0a460ca15f8bf4e4a39eae85f /mm/truncate.c
parenthugetlb: convert hugetlb_fault() to use struct vm_fault (diff)
downloadwireguard-linux-7b6ec181de372a243e3ef285ae1a48f32d5c71ba.tar.xz
wireguard-linux-7b6ec181de372a243e3ef285ae1a48f32d5c71ba.zip
hugetlb: convert hugetlb_no_page() to use struct vm_fault
hugetlb_no_page() can use the struct vm_fault passed in from hugetlb_fault(). This alleviates the stack by consolidating 7 variables into a single struct. [vishal.moola@gmail.com: simplify hugetlb_no_page() arguments] Link: https://lkml.kernel.org/r/ZhQtN8y5zud8iI1u@fedora Link: https://lkml.kernel.org/r/20240401202651.31440-3-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