[Intel-gfx] [PATCH 23/24] drm/i915: Use a slab for object allocation
Ben Widawsky
ben at bwidawsk.net
Thu Aug 30 20:50:29 CEST 2012
On Thu, 30 Aug 2012 16:31:18 +0100
Chris Wilson <chris at chris-wilson.co.uk> wrote:
> The primary purpose of this was to debug some use-after-free memory
> corruption that was causing an OOPS inside drm/i915. As it turned out
> the corruption was being caused elsewhere and i915.ko as a major user
> of many objects was being hit hardest.
>
> Indeed as we do frequent the generic kmalloc caches, dedicating one to
> ourselves (or at least naming one for us depending upon the core) aids
> debugging our own slab usage.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Acked-by: Ben Widawsky <ben at bwidawsk.net>
--
Ben Widawsky, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list