Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1697086pxj; Wed, 19 May 2021 11:42:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCh+sIowNlXiyHmEMUGsf9NN5BxFcT0klGRK0lWttKQYsLGN8r7uw4yHcH7v2UB0RaO6rN X-Received: by 2002:a17:906:1e0b:: with SMTP id g11mr521596ejj.291.1621449769154; Wed, 19 May 2021 11:42:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621449769; cv=none; d=google.com; s=arc-20160816; b=GK529OcO6BkldM0E2GEVXSwqur63UUPgImOsN4AFDFR8zrZEORtUXEnwstkOe4EpIg WeoYmaklT8AkAzzQQ5lRjtcGOtwioEqFiJySt+pr2hwuO/a5q3e7AuTtvvW22osrhf4H blPX7xNPS4y7DkW/Zw05IP9CbQnltF5dzzmJHklfcSfPNWJYyttY3tEv5/4LtzC8xNI1 XQXZLQuzlqtn43VhzxfFBSk7zKpe0YuK1mpsOBlwuC75r5A4sHMKwiEVqpvWitzZu5OK zQvBMycZL9ukBH99XMmsG2GGFlHRTeWYUM0GQ9aIeO7XK7zX8M4PU5A8lxmUfpiU/lE7 PtuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=fpCc4UzYh76XAJkhalJP9Pe3fpzW0B1Arhd6b/09lBY=; b=Z3f+tMzKUOAlqpSX1Ug3S8narXWnJNAlnu07sblwuMUctQ6D5D04T5sLCjDHf/99nT SSJQ+mdBQ/m2c2aKSHHr5Bez+sr7s+NL1cJlHVh5IOuYeHK/wQKe4fB2nCww6jI6yi/W 20QtD9GfSFPg/kRPBb9a/qPPcHwrWogaBo9CURmidgRvk1enTAXaiOqUUbtuizhh4URC EA4tBfTJ1oMAy/A/qw+dExumpA/sbTZKV7Yu6/BVML/c3QFTerHDPSXqF2D1IOnLR84e 4bCicLqSbcAJw0Gal9YyUyZ0YpHj32ZeNbT2L2ROisPwOUp0zZA6HnoccNImQgu+d+o0 GDng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nJrpDvWx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ch13si302659ejb.305.2021.05.19.11.42.23; Wed, 19 May 2021 11:42:49 -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; dkim=pass header.i=@linaro.org header.s=google header.b=nJrpDvWx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241000AbhERWNO (ORCPT + 99 others); Tue, 18 May 2021 18:13:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236372AbhERWNM (ORCPT ); Tue, 18 May 2021 18:13:12 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FB32C061573 for ; Tue, 18 May 2021 15:11:53 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id e11so13210854ljn.13 for ; Tue, 18 May 2021 15:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fpCc4UzYh76XAJkhalJP9Pe3fpzW0B1Arhd6b/09lBY=; b=nJrpDvWxJJKOpXoQPYONh3Yn30C/i1X04Io/Nq153E8Rqb/jpwAkT8+uk+qCkxJFsy J6iDuACx9m9MZSPAtVadmMmxRlPKZCFVyM2Rn5RYXpcPodjz59G+R53BuLMbXFAWfvPu /wtgDHKeRRnL5TtuUdWzTOLm5Qsak+9UmFKqX3ILEvAjBqNZDAWHULBNIw79/M67fR25 +n6d3jv9F6UpH5oW+CAcRy9oVrAVZ/d2X0yoo9Lwxv/hC3kxdeGTHhpYa0lb8GthS3K3 4JEH5t42VNJF4EzM93ENvBjB19NO4ttw+r1wm+L2NTAOgGrwcuRQ8bFP0JF/wpukV7Hn 7OBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fpCc4UzYh76XAJkhalJP9Pe3fpzW0B1Arhd6b/09lBY=; b=ce8KqkBYvOrJ90hUBLI+VHm93miQtewzUCTtyqBFpqFBBxy3UV+VrjQUCVXsNwYtq7 6lCce3mtWXJREtoP8ri3swuG84IjrX9gUFG+zhQ5lw0BgnEocTqzZ21oXZ90ntpvR3W8 eFxO9Eau36xIwQeST2v9p6c7WM6BwSH9/f4oWeWRLWO603cYVAMG6klIKvfKVG1FvS3i Z9FfbVcWxgWLYOUnSq2a7VoADsH05SNv7+gu494iZ/o/Rp+IoqHmmso5ME1cpN+gP9La AlBiRmNnGXA5B8t3q/Oj/g+F1eWE8VDpHolC57ooYkOIuNZdS0xauuz7V7kUF0miM2yp beGA== X-Gm-Message-State: AOAM531XBJB5J9RhGoOFD8apl92cCZCdGRyGXDZfHBzfj2u8+GOEC1/M 366utnPD709qIiJm9ALB3WkgTVwZCfTuFvG5XDdzDg== X-Received: by 2002:a2e:22c3:: with SMTP id i186mr5704735lji.273.1621375912057; Tue, 18 May 2021 15:11:52 -0700 (PDT) MIME-Version: 1.0 References: <20210518120633.GW12395@shell.armlinux.org.uk> In-Reply-To: From: Linus Walleij Date: Wed, 19 May 2021 00:11:41 +0200 Message-ID: Subject: Re: [PATCH 2/4] ARM: use a temporary variable to hold maximum vmalloc size To: "Russell King (Oracle)" Cc: Yanfei Xu , Mike Rapoport , Ard Biesheuvel , Andrew Morton , Hailong liu , Tian Tao , Linux ARM , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 18, 2021 at 2:15 PM Russell King (Oracle) wrote: > We calculate the maximum size of the vmalloc space twice in > early_vmalloc(). Use a temporary variable to hold this value. > > Signed-off-by: Russell King (Oracle) Reviewed-by: Linus Walleij Yours, Linus Walleij