[PATCH 0/2] Add scope-based cleanup capability to eventfd_ctx

Bence Csokas posted 2 patches 2 weeks, 2 days ago
There is a newer version of this series
drivers/gpu/drm/drm_syncobj.c | 9 ++++-----
fs/eventfd.c                  | 3 +++
include/linux/eventfd.h       | 3 +++
3 files changed, 10 insertions(+), 5 deletions(-)
[PATCH 0/2] Add scope-based cleanup capability to eventfd_ctx
Posted by Bence Csokas 2 weeks, 2 days ago
Add __free() support to eventfd and update drm_syncobj to use it as an
example consumer.

A minor discrepancy I encountered is whether to put a semicolon after
DEFINE_FREE(). It seems some in-tree code does, some doesn't. In the end,
I followed the example set in core-api/cleanup.rst, and omitted it.

Signed-off-by: Bence Csokas <bence.csokas@arm.com>
---
Bence Csokas (2):
      eventfd: Add scope-based cleanup capability
      drm/syncobj: Use scope-based cleanup for eventfd_ctx

 drivers/gpu/drm/drm_syncobj.c | 9 ++++-----
 fs/eventfd.c                  | 3 +++
 include/linux/eventfd.h       | 3 +++
 3 files changed, 10 insertions(+), 5 deletions(-)
---
base-commit: 893e11787f78e43b534e252249ac3fff4d1333f8
change-id: 20260826-efd-autofree-766608e8d8aa

Best regards,
--  
Bence Csokas <bence.csokas@arm.com>