Skip to content

Lock context annotation fixes

Bart Van Assche lkml 1 version 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

  1. v2 Latest4 patches 5 repliesApplied

Changes in v2 from the cover letter

- Expanded Cc-list. Added the linux-kernel mailing list and more kernel developers to the Cc-list.
- Added Maarten's Acked-by to patch 3/4.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4locking: Fix rwlock and spinlock lock context annotationsinclude/linux/rwlock.h include/linux/rwlock_api_smp.h include/linux/spinlock.h+8 -51 reply
2/4signal: Fix the lock_task_sighand() annotationinclude/linux/sched/signal.h+1 -10 replies
3/4ww-mutex: Fix the ww_acquire_ctx function annotationsinclude/linux/ww_mutex.h+2 -20 replies
4/4Revert "lockdep: Annotate lockdep assertions for context analysis"include/linux/lockdep.h lib/test_context-analysis.c mm/kfence/report.c+10 -93 replies

Reviews trailers per patch

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

PatchMaarten Lankhorst
1/4
2/4
3/4A-b
4/4

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Lock context annotation fixes

Hi Peter,

Some of the lock context annotations that have been introduced during the most recent merge window were incomplete or incorrect. Hence this patch series with fixes. Please consider this patch series for the current kernel development cycle.

Thanks,

Bart.

Changes compared to v1:
- Expanded Cc-list. Added the linux-kernel mailing list and more kernel developers to the Cc-list.
- Added Maarten's Acked-by to patch 3/4.

Bart Van Assche (4):
locking: Fix rwlock and spinlock lock context annotations
signal: Fix the lock_task_sighand() annotation
ww-mutex: Fix the ww_acquire_ctx function annotations Revert "lockdep: Annotate lockdep assertions for context analysis"

 include/linux/lockdep.h        | 12 ++++++------
 include/linux/rwlock.h         |  4 ++--
 include/linux/rwlock_api_smp.h |  6 ++++--
 include/linux/sched/signal.h   |  2 +-
 include/linux/spinlock.h       |  3 ++-
 include/linux/ww_mutex.h       |  4 ++--
 lib/test_context-analysis.c    |  6 +++---
 mm/kfence/report.c             |  1 +
 8 files changed, 21 insertions(+), 17 deletions(-)