]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm-page_alloc-fix-race-condition-between-build_all_zonelists-and-page-allocation-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 24 Aug 2022 17:26:44 +0000 (10:26 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Aug 2022 05:01:57 +0000 (22:01 -0700)
make zonelist_update_seq static

Cc: David Hildenbrand <david@redhat.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Patrick Daly <quic_pdaly@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c

index 6345011607e32854c2bc62afb786212cc2434410..1678431fb4c42a9eacb862cbd41d92169c148ea5 100644 (file)
@@ -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)
 {