diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-15 11:32:30 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-11-30 23:44:05 +0100 |
commit | 42dcedd4f2e715dc0313e359c8288e6397843fff (patch) | |
tree | bb5f86097d2e7f5e855824e76fe51bec8e97e635 /drivers/rapidio | |
parent | 8040513870399f1cb032cb8bc805df5042fedcdf (diff) |
drm/i915: Use a slab for object allocation
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@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions