[PATCH v3 6/7] mm/gup: remove vmas parameter from pin_user_pages()

2023-04-15 Thread Lorenzo Stoakes
After the introduction of FOLL_SAME_FILE we no longer require vmas for any invocation of pin_user_pages(), so eliminate this parameter from the function and all callers. This clears the way to removing the vmas parameter from GUP altogether. Signed-off-by: Lorenzo Stoakes --- arch/powerpc/mm/bo

[PATCH v2 6/7] mm/gup: remove vmas parameter from pin_user_pages()

2023-04-15 Thread Lorenzo Stoakes
After the introduction of FOLL_SAME_FILE we no longer require vmas for any invocation of pin_user_pages(), so eliminate this parameter from the function and all callers. This clears the way to removing the vmas parameter from GUP altogether. Signed-off-by: Lorenzo Stoakes --- arch/powerpc/mm/bo