[PATCH v2 3/4] drm/exynos: added userptr feature.

InKi Dae daeinki at gmail.com
Wed Apr 25 05:46:39 PDT 2012


Hi Dave,

2012/4/25, Dave Airlie <airlied at gmail.com>:
> On Tue, Apr 24, 2012 at 6:17 AM, Inki Dae <inki.dae at samsung.com> wrote:
>> this feature could be used to use memory region allocated by malloc() in
>> user
>> mode and mmaped memory region allocated by other memory allocators.
>> userptr
>> interface can identify memory type through vm_flags value and would get
>> pages or page frame numbers to user space appropriately.
>
> Is there anything to stop the unpriviledged userspace driver locking
> all the RAM in the machine inside userptr?
>
> seems like a very bad plan, I know TTM has code to address this sort
> of things with limits.
>

Thank you for your pointing and I will look into it. could anyone tell
me that I can refer to which part of TTM? if doing so, it would be
helpful to me.

Thanks,
Inki Dae.


> Dave.
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>


More information about the dri-devel mailing list