]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Mon, 17 Mar 2025 05:06:41 +0000 (22:06 -0700)
commit020396a581dc69be2d30939fabde6c029d847034
treed7d94fade88d40e04df5c23e5c86a61ef6282066
parentc2f6ea38fc1b640aa7a2e155cc1c0410ff91afa2
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