Hi Dave, 2012/4/25, Dave Airlie <airlied@xxxxxxxxx>: > On Tue, Apr 24, 2012 at 6:17 AM, Inki Dae <inki.dae@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/dri-devel > _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel