diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2021-07-12 15:32:07 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-07-12 18:30:56 +0000 |
| commit | 79789db03fdd77510cfb35cb4b3bd52b6c50c901 (patch) | |
| tree | 44e6aba4c3735b180392437ef0d71f08a47337ee /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | mm/rmap: fix munlocking Anon THP with mlocked ptes (diff) | |
| download | kernel-79789db03fdd77510cfb35cb4b3bd52b6c50c901.tar.gz kernel-79789db03fdd77510cfb35cb4b3bd52b6c50c901.zip | |
mm: Make copy_huge_page() always available
Rewrite copy_huge_page() and move it into mm/util.c so it's always
available. Fixes an exposure of uninitialised memory on configurations
with HUGETLB and UFFD enabled and MIGRATION disabled.
Fixes: 8cc5fcbb5be8 ("mm, hugetlb: fix racy resv_huge_pages underflow on UFFDIO_COPY")
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
