Skip to content

preempt: Track NMI nesting to separate per-CPU counter

Boqun Feng lkml rust-for-linux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 34 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24preempt: Track NMI nesting to separate per-CPU counterinclude/linux/hardirq.h include/linux/preempt.h kernel/softirq.c +1 more+23 -70 replies
2/24preempt: Introduce HARDIRQ_DISABLE_BITSinclude/linux/preempt.h tools/testing/selftests/bpf/bpf_experimental.h+15 -61 reply
3/24preempt: Introduce __preempt_count_{sub, add}_return()arch/arm64/include/asm/preempt.h arch/s390/include/asm/preempt.h arch/x86/include/asm/preempt.h +1 more+52 -00 replies
4/24openrisc: Include <linux/cpumask.h> in smp.harch/openrisc/include/asm/smp.h+2 -00 replies
5/24irq & spin_lock: Add counted interrupt disabling/enablinginclude/linux/interrupt_rc.h include/linux/preempt.h include/linux/spinlock.h +5 more+211 -120 replies
6/24irq: Add KUnit test for refcounted interrupt enable/disablekernel/irq/Makefile kernel/irq/refcount_interrupt_test.c+110 -00 replies
7/24locking: Switch to _irq_{disable,enable}() variants in cleanup guardsinclude/linux/spinlock.h+6 -64 replies
8/24sched: Remove the unused preempt_offset parameter of __cant_sleep()include/linux/kernel.h kernel/sched/core.c+4 -40 replies
9/24sched: Avoid signed comparison of preempt_count() in __cant_migrate()kernel/sched/core.c+1 -10 replies
10/24preempt: Introduce HAS_SEPARATE_PREEMPT_RESCHED_BITSarch/x86/Kconfig arch/x86/include/asm/preempt.h arch/x86/kernel/cpu/common.c +6 more+107 -434 replies
11/24arm64: sched/preempt: Enable HAS_SEPARATE_PREEMPT_RESCHED_BITSarch/arm64/Kconfig+1 -00 replies
12/24s390/preempt: Enable HAS_SEPARATE_PREEMPT_RESCHED_BITSarch/s390/Kconfig arch/s390/include/asm/lowcore.h arch/s390/include/asm/preempt.h+29 -263 replies
13/24irq: Optimize reschedule check in local_interrupt_enable()arch/arm64/include/asm/preempt.h arch/s390/include/asm/preempt.h arch/x86/include/asm/preempt.h +2 more+32 -232 replies
14/24rust: Introduce interrupt modulerust/helpers/helpers.c rust/helpers/interrupt.c rust/helpers/sync.c +2 more+114 -00 replies
15/24rust: helper: Add spin_{un,}lock_irq_{enable,disable}() helpersrust/helpers/spinlock.c+15 -00 replies
16/24rust: sync: use super::* in spinlock.rsrust/kernel/sync/lock/spinlock.rs+4 -50 replies
17/24rust: sync: Add SpinLockIrqrust/kernel/sync.rs rust/kernel/sync/lock/global.rs rust/kernel/sync/lock/spinlock.rs+254 -10 replies
18/24rust: sync: Introduce SpinLockIrq::lock_with() and friendsrust/kernel/sync/lock/spinlock.rs+80 -10 replies
19/24rust: sync: Add abstraction for synchronize_rcu()rust/kernel/sync/rcu.rs+16 -00 replies
20/24rust: revocable: Use safe synchronize_rcu() abstractionrust/kernel/revocable.rs+6 -30 replies
21/24rust: sync: Use safe synchronize_rcu() abstraction in pollrust/kernel/sync/poll.rs+6 -40 replies
22/24rust: sync: Add helpers for mb, dma_mb and friendsrust/helpers/barrier.c+30 -00 replies
23/24rust: sync: Add generic memory barriersrust/kernel/sync/atomic/ordering.rs rust/kernel/sync/barrier.rs+100 -290 replies
24/24rust: revocable: Use LKMM atomics instead of Rust atomicsrust/kernel/revocable.rs+13 -80 replies

Reviews trailers per patch

11 of 24 patches have a Reviewed-by or Acked-by.

PatchHeiko CarstensStafford HornePeter ZijlstraBenno LossinAndreas HindborgGary GuoOnur ÖzkanDanilo KrummrichAlice RyhlEliot CourtneyFUJITA Tomonori
1/24
2/24
3/24A-b
4/24A-b
5/24
6/24
7/24
8/24
9/24
10/24Originally-by
11/24
12/24
13/24
14/24R-b R-b R-b
15/24R-b R-b
16/24
17/24R-b
18/24R-b
19/24R-b R-b R-b
20/24R-b R-b R-b
21/24R-b R-b R-b R-b
22/24R-b
23/24
24/24R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 11 reviewers.

Read the v1 thread