Skip to content

Lock ordering documentation and annotation for lockdep

Thomas Gleixner linux-acpi linux-csky linux-hexagon linux-ia64 linux-pci linux-pm linux-usb linux-wireless linuxppc-dev lkml netdev platform-driver-x86 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. v3 Latest20 patches 23 repliesApplied
  2. v214 of 15 patches 51 repliesSuperseded

Changes in v3 from the cover letter

- Included the arch/XXX fixups for the rcuwait changes (Sebastian)

- Folded the init fix for the PS3 change (Sebastian)

- Addressed feedback on documentation (Paul, Davidlohr, Jonathan)

- Picked up acks and reviewed tags

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/20PCI/switchtec: Fix init_completion race condition with poll_wait()drivers/pci/switch/switchtec.c+1 -10 replies
2/20pci/switchtec: Replace completion wait queue usage for polldrivers/pci/switch/switchtec.c+13 -90 replies
3/20usb: gadget: Use completion interface instead of open coding itdrivers/usb/gadget/legacy/inode.c+2 -22 replies
4/20orinoco_usb: Use the regular completion interfacesdrivers/net/wireless/intersil/orinoco/orinoco_usb.c+5 -161 reply
5/20acpi: Remove header dependencydrivers/platform/x86/dell-smo8800.c drivers/platform/x86/wmi.c drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c +1 more+4 -12 replies
6/20nds32: Remove mm.h from asm/uaccess.harch/nds32/include/asm/uaccess.h+0 -10 replies
7/20csky: Remove mm.h from asm/uaccess.harch/csky/include/asm/uaccess.h+0 -10 replies
8/20hexagon: Remove mm.h from asm/uaccess.harch/hexagon/include/asm/uaccess.h+0 -11 reply
9/20ia64: Remove mm.h from asm/uaccess.harch/ia64/include/asm/uaccess.h arch/ia64/kernel/process.c arch/ia64/mm/ioremap.c+2 -10 replies
10/20microblaze: Remove mm.h from asm/uaccess.harch/microblaze/include/asm/uaccess.h+0 -10 replies
11/20rcuwait: Add @state argument to rcuwait_wait_event()include/linux/rcuwait.h kernel/locking/percpu-rwsem.c+11 -30 replies
12/20powerpc/ps3: Convert half completion to rcuwaitarch/powerpc/platforms/ps3/device-init.c+9 -92 replies
13/20Documentation: Add lock ordering and nesting documentationDocumentation/locking/index.rst Documentation/locking/locktypes.rst+300 -09 replies
14/20timekeeping: Split jiffies seqlockkernel/time/jiffies.c kernel/time/tick-common.c kernel/time/tick-sched.c +2 more+28 -170 replies
15/20sched/swait: Prepare usage in completionskernel/sched/sched.h kernel/sched/swait.c+17 -10 replies
16/20completion: Use simple wait queuesdrivers/usb/gadget/function/f_fs.c include/linux/completion.h kernel/sched/completion.c+24 -221 reply
17/20lockdep: Introduce wait-type checksinclude/linux/irqflags.h include/linux/lockdep.h include/linux/mutex.h +12 more+307 -470 replies
18/20lockdep: Add hrtimer context tracing bitsinclude/linux/irqflags.h include/linux/sched.h kernel/locking/lockdep.c +1 more+22 -21 reply
19/20lockdep: Annotate irq_workinclude/linux/irq_work.h include/linux/irqflags.h kernel/irq_work.c +2 more+19 -05 replies
20/20lockdep: Add posixtimer context tracing bitsinclude/linux/irqflags.h kernel/time/posix-cpu-timers.c+17 -10 replies

Reviews trailers per patch

8 of 20 patches have a Reviewed-by or Acked-by.

PatchBjorn HelgaasLogan GunthorpePeter Zijlstra (Intel)Greg Kroah-HartmanJoel Fernandes (Google)Davidlohr BuesoLinus TorvaldsThomas GleixnerAndy ShevchenkoRafael J. WysockiKalle ValoBrian CainFelipe BalbiSebastian Andrzej SiewiorPaul E. McKenney
1/20A-b
2/20A-b R-b A-b
3/20R-b A-b
4/20R-b A-b
5/20A-b A-b
6/20
7/20
8/20A-b
9/20
10/20
11/20
12/20
13/20A-b R-b
14/20
15/20
16/20R-b R-b R-b A-b
17/20Requested-by
18/20
19/20
20/20

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

Read the v3 thread

Cover letter [patch V3 00/20] Lock ordering documentation and annotation for lockdep

This is the third and hopefully final version of this work. The second one can be found here:

https://lore.kernel.org/r/[email protected]

Changes since V2:

- Included the arch/XXX fixups for the rcuwait changes (Sebastian)

- Folded the init fix for the PS3 change (Sebastian)

- Addressed feedback on documentation (Paul, Davidlohr, Jonathan)

- Picked up acks and reviewed tags

Thanks,

tglx