Re: [PATCH 1/2] mm/gup: Fix hugepd handling in hugetlb rework

2024-04-29 Thread David Hildenbrand
On 28.04.24 21:01, Peter Xu wrote: Commit a12083d721d7 added hugepd handling for gup-slow, reusing gup-fast functions. follow_hugepd() correctly took the vma pointer in, however didn't pass it over into the lower functions, which was overlooked. The issue is gup_fast_hugepte() uses the vma

[PATCH 1/2] mm/gup: Fix hugepd handling in hugetlb rework

2024-04-28 Thread Peter Xu
Commit a12083d721d7 added hugepd handling for gup-slow, reusing gup-fast functions. follow_hugepd() correctly took the vma pointer in, however didn't pass it over into the lower functions, which was overlooked. The issue is gup_fast_hugepte() uses the vma pointer to make the correct decision on