]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: page_alloc: remove remnants of unlocked migratetype updates
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 25 Feb 2025 00:08:25 +0000 (19:08 -0500)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Feb 2025 01:00:30 +0000 (17:00 -0800)
commit9657f5a051ebf9b2ed6cea066453f9d4f6b5a547
tree096404d451113ad2ee5882ec2abb3dc197de448b
parentdf26191ed262e0e9b377a7c9a13df630b40f190b
mm: page_alloc: remove remnants of unlocked migratetype updates

The freelist hygiene patches made migratetype accesses fully protected
under the zone->lock.  Remove remnants of handling the race conditions
that existed before from the MIGRATE_HIGHATOMIC code.

Link: https://lkml.kernel.org/r/20250225001023.1494422-3-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Brendan Jackman <jackmanb@google.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c