[PATCH] exynos: Put a stop to the userptr heresy.

Daniel Vetter daniel at ffwll.ch
Tue Jul 8 06:37:15 PDT 2014


On Wed, Jul 02, 2014 at 11:25:19AM -0400, Jerome Glisse wrote:
> Anyway as this is upstream i guess you can keep it. This is just an horrible
> API that allow to circumvant any limit set by memcg for page locking and all.
> But anyway GPU driver never played in the same ballpark as other driver.

I agree that exynos userptr as-is should be removed since as opposed to
the i915 implementation it doesn't play nice with the core mm and allos
unpriviledged userspace to exceed all mlock limits.

I've taken considerable amounts of internal heat for rejecting i915
userptr until the mmu notifier stuff was implemented and so really want
exynos to fix this up asap.

Dave?

Thanks, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the dri-devel mailing list