summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2026-04-29 15:02:09 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-05-29 07:05:05 +0300
commitfeb0df835fde31ba6af7ab2b7b05751cadc97472 (patch)
treefdf4b126f97da9733a55aaf94110abb930a91176 /include
parent055526c21e2dc802389435bc684cf17cdf507909 (diff)
downloadlinux-feb0df835fde31ba6af7ab2b7b05751cadc97472.tar.xz
mm: use zone lock guard in set_migratetype_isolate()
Use spinlock_irqsave scoped lock guard in set_migratetype_isolate() to replace the explicit lock/unlock pattern with automatic scope-based cleanup. The scoped variant is used to keep dump_page() outside the locked section to avoid a lockdep splat. Link: https://lore.kernel.org/6883351ad7f74d20875fff30e0e3214a089cea97.1777462630.git.d@ilvokhin.com Signed-off-by: Dmitry Ilvokhin <d@ilvokhin.com> Suggested-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Michal Hocko <mhocko@suse.com> Acked-by: Zi Yan <ziy@nvidia.com> Cc: Brendan Jackman <jackmanb@google.com> Cc: David Hildenbrand <david@kernel.org> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Lorenzo Stoakes <ljs@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions