[PATCH 0/4] timekeeping: Avoid some runtime conditionals if CONFIG_POSIX_AUX_CLOCKS is disabled

Thomas Weißschuh (Schneider Electric) posted 4 patches 1 month, 2 weeks ago
kernel/time/timekeeping.c | 41 ++++++++++++++++++-----------------------
1 file changed, 18 insertions(+), 23 deletions(-)
[PATCH 0/4] timekeeping: Avoid some runtime conditionals if CONFIG_POSIX_AUX_CLOCKS is disabled
Posted by Thomas Weißschuh (Schneider Electric) 1 month, 2 weeks ago
Some of the conditionals around auxiliary timekeepers are always true if
CONFIG_POSIX_AUX_CLOCKS is disabled. Introduce and use some helpers to avoid
the runtime overhead.

Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>
---
Thomas Weißschuh (Schneider Electric) (4):
      timekeeping: Move timekeeper_is_core_tk() up in the file
      timekeeping: Use timekeeper_is_core_tk() in timekeeping_update_on_shadow()
      timekeeping: Remove tk_is_aux() and its usage
      timekeeping: Introduce and use timekeeper_is_clock_valid()

 kernel/time/timekeeping.c | 41 ++++++++++++++++++-----------------------
 1 file changed, 18 insertions(+), 23 deletions(-)
---
base-commit: 4fa377c19e111c539a530a8200996b911ceff9ff
change-id: 20260701-timekeeping-conditionals-25e2d45d86d9

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