Thread (62 messages) 62 messages, 9 authors, 2020-11-09

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

From: Jason Gunthorpe <jgg@ziepe.ca>
Date: 2020-11-09 20:19:49
Also in: dri-devel, kvm, linux-media, linux-mm, linux-samsung-soc, lkml

On Mon, Nov 09, 2020 at 09:44:02AM +0100, Thomas Hellström wrote:
static inline bool vma_is_special_huge(const struct vm_area_struct
*vma)
{
	return vma_is_dax(vma) || (vma->vm_file &&
				   (vma->vm_flags & (VM_PFNMAP | VM_MIXEDMAP)));
}
That is testing a VMA, not a PTE, which doesn't help protect
get_user_pages_fast.

Sounds like is has opened a big user crashy problem in DRM and the
huge page stuff needs to be revereted..

Dan?

Jason

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help