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-03-21 00:06:58 +0000
commit911eeb2df3f57d74271399ebb218f267a01cede4 (patch)
tree5bca3961a11c9434c3bb9454484f48831060a4e3 /drivers/gpu/drm/omapdrm/omap_gem.c
parent2a7921d0d2677e095e67250af36d2565d26b36b4 (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