mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] cpu: CPU hotplug lock updates
@ 2026-06-04  3:38 Reinette Chatre
  2026-06-04  3:38 ` [PATCH 1/2] MAINTAINERS: Add include/linux/cpuhplock.h to CPU HOTPLUG area Reinette Chatre
  2026-06-04  3:38 ` [PATCH 2/2] cpu: Add lockdep_is_cpus_held()/lockdep_is_cpus_write_held() stubs for !CONFIG_HOTPLUG_CPU Reinette Chatre
  0 siblings, 2 replies; 3+ messages in thread
From: Reinette Chatre @ 2026-06-04  3:38 UTC (permalink / raw)
  To: tglx, peterz, bp, frederic, tony.luck; +Cc: reinette.chatre, linux-kernel

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(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-04  3:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-04  3:38 [PATCH 0/2] cpu: CPU hotplug lock updates Reinette Chatre
2026-06-04  3:38 ` [PATCH 1/2] MAINTAINERS: Add include/linux/cpuhplock.h to CPU HOTPLUG area Reinette Chatre
2026-06-04  3:38 ` [PATCH 2/2] cpu: Add lockdep_is_cpus_held()/lockdep_is_cpus_write_held() stubs for !CONFIG_HOTPLUG_CPU Reinette Chatre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome