Skip to content

lockdep: Change IRQ state tracking to use per-cpu variables

Peter Zijlstra linux-s390 linuxppc-dev lkml sparclinux 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 23 repliesApplied
  2. v35 patches 3 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/8lockdep: Prepare for NMI IRQ state trackingkernel/locking/lockdep.c+41 -30 replies
2/8x86/entry: Fix NMI vs IRQ state trackingarch/x86/entry/common.c arch/x86/include/asm/idtentry.h arch/x86/kernel/nmi.c +2 more+70 -290 replies
3/8sparc64: Fix asm/percpu.h build errorarch/sparc/include/asm/percpu_64.h arch/sparc/include/asm/trap_block.h+4 -01 reply
4/8powerpc64: Break asm/percpu.h vs spinlock_types.h dependencyarch/powerpc/include/asm/dtl.h arch/powerpc/include/asm/lppaca.h arch/powerpc/include/asm/paca.h +6 more+60 -450 replies
5/8s390: Break cyclic percpu includearch/s390/include/asm/smp.h arch/s390/include/asm/thread_info.h+1 -10 replies
6/8arm: Break cyclic percpu includearch/arm/include/asm/percpu.h+2 -03 replies
7/8lockdep: Change hardirq{s_enabled,_context} to per-cpu variablesinclude/linux/irqflags.h include/linux/lockdep.h include/linux/sched.h +3 more+52 -4319 replies
8/8lockdep: Remove lockdep_hardirq{s_enabled,_context}() argumentarch/x86/entry/common.c include/linux/irqflags.h include/linux/lockdep.h +3 more+24 -240 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchDavid S. Miller
1/8
2/8
3/8A-b
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/8] lockdep: Change IRQ state tracking to use per-cpu variables

Ahmed and Sebastian wanted additional lockdep_assert*() macros and ran into header hell. I figured using per-cpu variables would cure that, and also ran into header hell, still tracktable though.

By moving the IRQ state into per-cpu variables we remove the dependency on task_struct.

Patches go on top of anything recent I think, an actual git tree with them in is (for now) here:

git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/irqstate

Which 0day blessed with 0 build fails.