Skip to content

timens: Simplify some resource management through cleanup.h helpers

Thomas Weißschuh lkml 1 version Applied

Status from this message: The following commit has been merged into the timers/vdso branch of tip:

Get series with b4
b4 am [email protected] change-id 20260325-timens-cleanup-4294bbffdfa3

Versions newest first

  1. v1 Latest4 patches 0 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4timens: Add a __free() wrapper for put_time_ns()include/linux/time_namespace.h+3 -00 replies
2/4timens: Simplify some calls to put_time_ns()kernel/time/namespace.c+7 -140 replies
3/4timens: Use mutex guard in proc_timens_set_offset()kernel/time/namespace.c+5 -110 replies
4/4timens: Use task_lock guard in timens_get*()kernel/time/namespace.c+14 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Based on tip/timers/vdso.

---
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,

Signature · 1 line
Thomas Weißschuh <[email protected]>