diff options
| author | Vishal Moola (Oracle) <vishal.moola@gmail.com> | 2024-02-21 15:47:30 -0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-03-04 17:01:15 -0800 |
| commit | 7dac0ec8fa3f4977d04974e94806dfa8bdac7ed2 (patch) | |
| tree | 5ec000efdf281fd062613694a76d227670bb6d56 /lib/stackdepot.c | |
| parent | 0ca22723e3ffe0d539c5d72603dded8fe6924a89 (diff) | |
hugetlb: pass struct vm_fault through to hugetlb_handle_userfault()
Now that hugetlb_fault() has a struct vm_fault, have
hugetlb_handle_userfault() use it instead of creating one of its own.
This lets us reduce the number of arguments passed to
hugetlb_handle_userfault() from 7 to 3, cleaning up the code and stack.
Link: https://lkml.kernel.org/r/20240221234732.187629-4-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Reviewed-by: 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 'lib/stackdepot.c')
0 files changed, 0 insertions, 0 deletions
