[PATCH 0/4] timens: Simplify some resource management through cleanup.h helpers

Thomas Weißschuh posted 4 patches 1 week ago
include/linux/time_namespace.h |  3 ++
kernel/time/namespace.c        | 67 ++++++++++++++++--------------------------
2 files changed, 29 insertions(+), 41 deletions(-)
[PATCH 0/4] timens: Simplify some resource management through cleanup.h helpers
Posted by Thomas Weißschuh 1 week ago
Based on tip/timers/vdso.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Thomas Weißschuh (4):
      timens: Add a __free() wrapper for put_time_ns()
      timens: Simplify some calls to put_time_ns()
      timens: Use mutex guard in proc_timens_set_offset()
      timens: Use task_lock guard in timens_get*()

 include/linux/time_namespace.h |  3 ++
 kernel/time/namespace.c        | 67 ++++++++++++++++--------------------------
 2 files changed, 29 insertions(+), 41 deletions(-)
---
base-commit: 8e936460de513407846993b8409bff5cebdf10bf
change-id: 20260325-timens-cleanup-4294bbffdfa3
prerequisite-change-id: 20250908-vdso-timens-decoupling-24c0eee0c6c4:v2
prerequisite-patch-id: 69020428722a28a11c698ef8439f266bbacf1a26
prerequisite-patch-id: df6df9340399a47bef2b29b5073c7603cbb1b3f3

Best regards,
--  
Thomas Weißschuh <thomas.weissschuh@linutronix.de>