[PATCH 27/29] drm/vgem: Move get_pages to gem_create

2016-01-05 Thread poma
On 23.11.2015 10:33, Daniel Vetter wrote: > vgem doesn't have a shrinker or anything like that and drops backing > storage only at object_free time. There's no use in trying to be > clever and allocating backing storage delayed, it only causes trouble > by requiring locking. > > Instead grab pages

[PATCH 27/29] drm/vgem: Move get_pages to gem_create

2015-11-23 Thread Daniel Vetter
vgem doesn't have a shrinker or anything like that and drops backing storage only at object_free time. There's no use in trying to be clever and allocating backing storage delayed, it only causes trouble by requiring locking. Instead grab pages when we allocate the object right away. Signed-off-b