linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Memory hotplug locking issue: Useless (?) zone span seqlock
@ 2025-03-07 20:22 Mathieu Desnoyers
  2025-05-08 10:45 ` David Hildenbrand
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Desnoyers @ 2025-03-07 20:22 UTC (permalink / raw)
  To: Andrew Morton, Oscar Salvador
  Cc: David Hildenbrand, Michal Hocko, Anshuman Khandual,
	Vlastimil Babka, Pavel Tatashin, Linus Torvalds, linux-kernel,
	linux-mm

I'm currently perfecting my understanding of the mm code and reviewing
pieces of it as I go, and stumbled on this:

commit 27cacaad16c5 ("mm,memory_hotplug: drop unneeded locking")

This commit removes all users of zone_span_writelock(), thus making
the inline useless, but leaves the now useless
zone_span_seqbegin()/zone_span_seqretry() in place within
page_outside_zone_boundaries().

So I'm confused. What's going on ?

And if this commit got things very wrong when removing the
seqlock, I wonder if there are cases where its partial
pgdat_resize_lock() removal can be an issue as well.

Thanks,

Mathieu

-- 
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com



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

end of thread, other threads:[~2025-05-09  9:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-07 20:22 Memory hotplug locking issue: Useless (?) zone span seqlock Mathieu Desnoyers
2025-05-08 10:45 ` David Hildenbrand
2025-05-08 13:11   ` Mathieu Desnoyers
2025-05-09  9:38     ` David Hildenbrand

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