summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2023-02-21 23:43:29 +0000
committerSuren Baghdasaryan <surenb@google.com>2024-02-11 10:45:56 -0800
commit600c45efd87c5dabaa0ed1fa4d6de3bfd252a2f2 (patch)
treef2021c0a8befa3baec5358537c002cc044fb25cf /drivers/gpu/drm/omapdrm/omap_gem.c
parentf9e719d34798eefd31024f2842cd09b6b3857dfa (diff)
codetag: debug: introduce OBJEXTS_ALLOC_FAIL to mark failed slab_ext allocations
If slabobj_ext vector allocation for a slab object fails and later on it succeeds for another object in the same slab, the slabobj_ext for the original object will be NULL and will be flagged in case when CONFIG_MEM_ALLOC_PROFILING_DEBUG is enabled. Mark failed slabobj_ext vector allocations using a new objext_flags flag stored in the lower bits of slab->obj_exts. When new allocation succeeds it marks all tag references in the same slabobj_ext vector as empty to avoid warnings implemented by CONFIG_MEM_ALLOC_PROFILING_DEBUG checks. Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions