[PATCH v2 0/2] jump_label: drop some workarounds in static key initialization

Thomas Weißschuh posted 2 patches 3 weeks, 4 days ago
include/linux/jump_label.h | 22 ++++------------------
kernel/jump_label.c        |  9 ---------
2 files changed, 4 insertions(+), 27 deletions(-)
[PATCH v2 0/2] jump_label: drop some workarounds in static key initialization
Posted by Thomas Weißschuh 3 weeks, 4 days ago
These workarounds are not necessary anymore so remove them.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Changes in v2:
- Rebase on v7.0-rc1.
- Link to v1: https://lore.kernel.org/r/20251118-jump_label-cleanup-v1-0-440a424d7282@linutronix.de

---
Thomas Weißschuh (2):
      jump_label: use ATOMIC_INIT() for initialization of .enabled
      jump_label: remove workaround for old compilers in initializations

 include/linux/jump_label.h | 22 ++++------------------
 kernel/jump_label.c        |  9 ---------
 2 files changed, 4 insertions(+), 27 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20251110-jump_label-cleanup-d7036bd1e533

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

Re: [PATCH v2 0/2] jump_label: drop some workarounds in static key initialization
Posted by Peter Zijlstra 3 weeks, 4 days ago
On Fri, Mar 13, 2026 at 09:22:17AM +0100, Thomas Weißschuh wrote:
> These workarounds are not necessary anymore so remove them.

> Thomas Weißschuh (2):
>       jump_label: use ATOMIC_INIT() for initialization of .enabled
>       jump_label: remove workaround for old compilers in initializations

Excellent, thanks!