Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp872138ybt; Tue, 7 Jul 2020 02:18:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFMbh74upImntuls3OwGmK514CpcumSZjrBmzvBbXX+A4scJWsxuxOUHMzhdg4UWjIeInx X-Received: by 2002:a17:906:fcb1:: with SMTP id qw17mr45374135ejb.445.1594113483952; Tue, 07 Jul 2020 02:18:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594113483; cv=none; d=google.com; s=arc-20160816; b=xcPh/iElnOX7khP3xufoiDQX2tnNaUwmyJLsjoR6TIjhcTGkWPo/0y+drtj2tZ8GiR OEA5xYOM61QKgakOlPyNsL+zUTCvNWL41YdTk9TvEzQ9tTitBP9cPQJI0GZZflW2RKfq 8J1kpnJXSZZHV5MhzOcg4LpjhKvH8o2iOYwwO2+MrnTIDcMrSaPtzAMI4+gocRsMo6yo IQsGg+Nxvs8w9UcQIJ9zQ4rC+9y4Lkn41MlSVgOwYJPAI3pmqtRrDCXry73ENvAwzgWP 5JtgRUIqj1YMOTtLGKbyXBgtiN3wJcwfL5BtqU1hRrYwrVBIX0pD7foqzUygVYBVVqjL 7zoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=iXQMboAFKGdKa6MLBQXH4JsEWKMuwjR9xXsLvb/wqk4=; b=Zagp4mIAWiqjUmKjzUH+z8UIy47RSAnIOLXW8cXD8sIJgBHbS+mk+4SWJYqgsJJ93I we/daW4b3mHZxxETdMcTL1r+Kn4WTyG9v5rU7zXPt+8a5HuSHvqL4OmY3oKZKW3klPFk E1a4n0iikaD7QQLKH75Qut1BL1pYPg8hes+WnZf1XAHfAPhdwje9UObgjWl+GLcLvf8q jgHNB+cDxfVZu37RW8xeV9Jg1kulff4ogmgcuTXXqREWcq/tQ3NLj6v07iGe3dZ3Phpb t5LLlSHS3H9Asvzqcso9oDaLuFhwr7WE6lWRwx611pTvzDuf07ildIbQSu6dubMRlxrC TSfg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lu26si10045053ejb.72.2020.07.07.02.17.40; Tue, 07 Jul 2020 02:18:03 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726911AbgGGJPk (ORCPT + 99 others); Tue, 7 Jul 2020 05:15:40 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:46812 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725825AbgGGJPk (ORCPT ); Tue, 7 Jul 2020 05:15:40 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id B4EE1D311DF4AB87244B; Tue, 7 Jul 2020 17:15:37 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Tue, 7 Jul 2020 17:15:30 +0800 From: Tian Tao To: , , CC: Subject: [PATCH] vmalloc: Removing incorrect logs when vmalloc failed Date: Tue, 7 Jul 2020 17:13:52 +0800 Message-ID: <1594113232-32193-1-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It is not possible to increase size with vmalloc= in arm64 architecture and it will mislead.however vmalloc return failure is a rare occurrence in 'many architectures including arm64'. Signed-off-by: Tian Tao --- mm/vmalloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 89e83d3..c7b5a9a 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -1238,8 +1238,7 @@ static struct vmap_area *alloc_vmap_area(unsigned long size, } if (!(gfp_mask & __GFP_NOWARN) && printk_ratelimit()) - pr_warn("vmap allocation for size %lu failed: use vmalloc= to increase size\n", - size); + pr_warn("vmap allocation for size %lu failed\n", size); kmem_cache_free(vmap_area_cachep, va); return ERR_PTR(-EBUSY); -- 2.7.4