Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2166657pxb; Mon, 8 Mar 2021 16:33:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJz8HUO6jN4Cm8iDLX+fqeOKv2DioFLXci4j+yCmCz7ZIheDsNiAtFyE6K03FC07KdKapkkL X-Received: by 2002:aa7:d416:: with SMTP id z22mr1114345edq.239.1615250010966; Mon, 08 Mar 2021 16:33:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615250010; cv=none; d=google.com; s=arc-20160816; b=BfqI2HS0eN6BdvMsSRjbdTi2zwszRL6oC9DSjXv9Cs1rJNyYl7mDaG/nlx+J9HQj9i q2lBKLTJMyaKy2MHyzrh0Smj1lgr3I59KjAUx1k+VDdyJGmu/oarfFbfv/Wv2GaEc08R B6XxiO/Y2vLDaWrCdlFOPAL8DItmwZoKSq6M3NSPTl/+d6nZIBpsLsGLcmXhLT9WeV3t Fra6bklnxCbETEkfyrLeCzm5a+sDsj5Wy0dpbmcFukLYBIyNURtzSOZm7spDzVmxAQ0n Ai70NRPfWgXWysrDoBRk6zudQGoq6iBOALga0PZy9/mC/B2kKtXmwXwvlv9SkQXl67LE nJVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=EhvkMcyPkmPhEOSaFCW26ZrKQuKTrgMOFatE9V30+Sc=; b=k+N0TEJXJz9zygs3ucRsLJ74+6jmLs93hj/cS6pir0k6cXZJ4V3Gx9l/riNzDKHwC9 yJdK9tlB5h16NIBIuO4bHpq7Oj4hOWFkGxuEro+rO80txKS2uF2zT0qrBiQKoE3vreeH up7vINcQeYtCOa5WRATyWdLTAorGOSIAxnCKm2GIx9HUR5PiIjTNpE+793G2DemL6/xx 0q5qAY+0iYLhJNUf8Ltcz94dE0PoTOEzIYaCJtwhzvhvizCDp0O2bor87QxlJl0V8T1g FgTUU1sxWTCBnUQNnY7J5igofaqHbw5ZxpQSsGGoKcERWGB8rPHuots7PcCPuxeI5nA1 oDjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p31si8818898edb.298.2021.03.08.16.33.08; Mon, 08 Mar 2021 16:33:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231542AbhCIAcE (ORCPT + 99 others); Mon, 8 Mar 2021 19:32:04 -0500 Received: from mga01.intel.com ([192.55.52.88]:7664 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229821AbhCIAbl (ORCPT ); Mon, 8 Mar 2021 19:31:41 -0500 IronPort-SDR: s2PwdowNM8i6VMO1UysIDlFb0bwA8bgNCp8aNJhFXZeLSRZG09n1YwwVDsAIwMu84lK8pMCVEZ GJWIUC5npOpA== X-IronPort-AV: E=McAfee;i="6000,8403,9917"; a="207899666" X-IronPort-AV: E=Sophos;i="5.81,233,1610438400"; d="scan'208";a="207899666" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 16:31:41 -0800 IronPort-SDR: NBWbpV3r055cG6hH7Nh/HKGbLcmBRU+bu0Pw7kjoVTbY9BlE4m2c0W7hwe93VlyxkGq94cTq96 +3bdLT1OBWQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,233,1610438400"; d="scan'208";a="437679955" Received: from lkp-server01.sh.intel.com (HELO 3e992a48ca98) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 08 Mar 2021 16:31:38 -0800 Received: from kbuild by 3e992a48ca98 with local (Exim 4.92) (envelope-from ) id 1lJQHi-0001FB-8z; Tue, 09 Mar 2021 00:31:38 +0000 Date: Tue, 9 Mar 2021 08:30:46 +0800 From: kernel test robot To: Minchan Kim , Andrew Morton Cc: kbuild-all@01.org, Linux Memory Management List , LKML , John Dias , Michal Hocko , David Hildenbrand , Jason Baron , Minchan Kim Subject: [RFC PATCH] mm: page_alloc: alloc_contig_ratelimit() can be static Message-ID: <20210309003046.GA34778@7449abb4ec10> References: <20210308202047.1903802-1-minchan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210308202047.1903802-1-minchan@kernel.org> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reported-by: kernel test robot Signed-off-by: kernel test robot --- page_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 43d3e1e4ab487..149a2b0e2b098 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -8345,12 +8345,12 @@ static unsigned long pfn_max_align_up(unsigned long pfn) (defined(CONFIG_DYNAMIC_DEBUG_CORE) && defined(DYNAMIC_DEBUG_MODULE)) static DEFINE_RATELIMIT_STATE(alloc_contig_ratelimit_state, DEFAULT_RATELIMIT_INTERVAL, DEFAULT_RATELIMIT_BURST); -int alloc_contig_ratelimit(void) +static int alloc_contig_ratelimit(void) { return __ratelimit(&alloc_contig_ratelimit_state); } -void dump_migrate_failure_pages(struct list_head *page_list) +static void dump_migrate_failure_pages(struct list_head *page_list) { DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, "migrate failure");