Skip to content

cpu: CPU hotplug lock updates

Reinette Chatre lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MAINTAINERS: Add include/linux/cpuhplock.h to CPU HOTPLUG areaMAINTAINERS+1 -00 replies
2/2cpu: Add lockdep_is_cpus_held()/lockdep_is_cpus_write_held() stubs for !CONFIG_HOTPLUG_CPUinclude/linux/cpuhplock.h+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] cpu: CPU hotplug lock updates

resctrl would like to use lockdep_is_cpus_held() as the lockdep expression provided to list_for_each_entry_rcu() but Sashiko pointed out that lockdep_is_cpus_held() is undefined when CONFIG_HOTPLUG_CPU is unset.

Patch 2 adds stubs for lockdep_is_cpus_held() and lockdep_is_cpus_write_held().

Patch 1 supports this work by adding include/linux/cpuhplock.h to the MAINTAINERS CPU HOTPLUG area to help ensure patches touching it are routed correctly.

Applies against tip/master.

Reinette Chatre (2):
MAINTAINERS: Add include/linux/cpuhplock.h to CPU HOTPLUG area
cpu: Add lockdep_is_cpus_held()/lockdep_is_cpus_write_held() stubs for
!CONFIG_HOTPLUG_CPU

 MAINTAINERS               | 1 +
 include/linux/cpuhplock.h | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)
Signature · 1 line
2.50.1