From: Andrew Morton Date: Wed, 24 Aug 2022 17:26:44 +0000 (-0700) Subject: mm-page_alloc-fix-race-condition-between-build_all_zonelists-and-page-allocation-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9df4758a25454f0fb2876190bc6c9988bf36e3c6;p=users%2Fjedix%2Flinux-maple.git mm-page_alloc-fix-race-condition-between-build_all_zonelists-and-page-allocation-fix make zonelist_update_seq static Cc: David Hildenbrand Cc: Mel Gorman Cc: Michal Hocko Cc: Patrick Daly Signed-off-by: Andrew Morton --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 6345011607e3..1678431fb4c4 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -4714,7 +4714,7 @@ EXPORT_SYMBOL_GPL(fs_reclaim_release); * retries the allocation if zonelist changes. Writer side is protected by the * embedded spin_lock. */ -DEFINE_SEQLOCK(zonelist_update_seq); +static DEFINE_SEQLOCK(zonelist_update_seq); static unsigned int zonelist_iter_begin(void) {