summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-04-08 13:11:14 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2016-04-11 18:13:36 +0200
commitfb8621d3bee88badeb25dccce0fb59ad145dba9e (patch)
tree1d9d36caed31d6b5644330137515f227cc53ac14 /mm/vmalloc.c
parentdrm,i915: Introduce drm_malloc_gfp() (diff)
downloadlinux-fb8621d3bee88badeb25dccce0fb59ad145dba9e.tar.xz
linux-fb8621d3bee88badeb25dccce0fb59ad145dba9e.zip
drm/i915: Avoid allocating a vmap arena for a single page
If we want a contiguous mapping of a single page sized object, we can forgo using vmap() and just use a regular kmap(). Note that this is only suitable if the desired pgprot_t is compatible. v2: Use is_vmalloc_addr() Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: Dave Gordon <david.s.gordon@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1460113874-17366-7-git-send-email-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions