From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9039C433B4 for ; Tue, 18 May 2021 22:21:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B61186135D for ; Tue, 18 May 2021 22:21:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352740AbhERWWp (ORCPT ); Tue, 18 May 2021 18:22:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236910AbhERWWo (ORCPT ); Tue, 18 May 2021 18:22:44 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5E76C061573 for ; Tue, 18 May 2021 15:21:25 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id e11so13229001ljn.13 for ; Tue, 18 May 2021 15:21:25 -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=6wvxlnMACzl5Vgyrn4bxRllNgosr37fqx5aWg2Pc570=; b=uimXX1kMk7Yd1tMNua5/EW3Dr0eu10uzFXDOL6LNd1bgX0TH2xjaIu/RImU4snFEBE jJ5x8BDkyRY22nVbRAwfkSkv3dq/e+P6EKZKLA65OH95Li335DtCzXXBEv/m/NF6f8m7 Zvx0d5XkofbSuRhx8CUOG8f4F8w92ZeCrLAKZ1kZzVIuHE+ASUG4aCHpVhcONpYFvaZa zgv5uxd+BeEyxlX0a/thQev7DZ0Vi93CC9L/ap9flZ2tM2N+IyammDpuAjrGLvLiMnw5 RkHMjKFgALjIC4jrucVLN7UmnnkQCFd3rE6AXImJZ5aXalsrR5NbaUjzayIFlHtmmq7E LfYQ== 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=6wvxlnMACzl5Vgyrn4bxRllNgosr37fqx5aWg2Pc570=; b=nwDOERVdoeQFhTath9BbEQudkNTjhl6cmBq+xL1HBdxUBGmuQi2riDf81T7+L2I7cw DfXgvvR3PhjYbcx8Paduku5LTGQFv1TkxiebsRoSoVHu8DwryyRUiDmBW8I4zY7hyUaV HIo9tbSibftFJXUYI6XjLajT99GACuoJob4fd795gzDFHKJp5uYpZC0fcUTgEv0qPq5f zXTmskcclHQ6yBrd2PA1hcRU9+49qjBAGIOByog5MmOupHSr0cfBDAJkZuMnaTEayxVU /x5GXhrrS5htERd8ObbvqAy8IhmfB7qKsOsNwcSYYaHW574IU3+XFYJmdCbBo+8AmAEL HwKw== X-Gm-Message-State: AOAM533/+VtyxxCJKujp8gULbz5VuMRa5M8gLh29lGWoKz2XW4mtZcJ7 OUe8Zgqv/DlBp+JykrMUhiy4GvQCg9QwwKMOVOkR8w== X-Google-Smtp-Source: ABdhPJwlnW3ly6Ny6e9IIz9/CA7MNOePxxOU0BqKeMkRRi+b2Ljau2EQiV/khaJy56dbImbe7rM07lY5GpAgcnCGeSA= X-Received: by 2002:a2e:889a:: with SMTP id k26mr5694835lji.438.1621376484445; Tue, 18 May 2021 15:21:24 -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:21:13 +0200 Message-ID: Subject: Re: [PATCH 4/4] ARM: change vmalloc_start to 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: > Rather than storing the start of vmalloc space, store the size, and > move the calculation into adjust_lowmem_limit(). We now have one single > place where this calculation takes place. > > Signed-off-by: Russell King (Oracle) This is really nice. Reviewed-by: Linus Walleij Yours, Linus Walleij From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8477FC433B4 for ; Tue, 18 May 2021 22:23:47 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 452B260FE6 for ; Tue, 18 May 2021 22:23:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 452B260FE6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=c6+3E89cqB+tGTVmJ5SU9JcBc+inImEavGMCF5Iw5x0=; b=bMTKM9OvK6VVGqLimBabMu4Ie /0s3yYv/vD54qgAseVItwcc19c9mkQBjacxPCYSoTyhf1/bk77r0kB0wizOGGonYek+x4pEdXdeNb PZj6PaoAkB2VIMD4ZG+gGKX4QEEoUlGF461IrebdkPSK7qrrhZXxsHjdXpc2pmqf31K+pqLfzrTrJ qBfKWXIe7ZTApuiuOmvG3K5Lm9UvKBC+ZTNbzvMqO7m6InAi8lCjCLQ3FJGG8pdo9wlP6EB1XOFHo o+shm3d+MmoCv/tmO9/DKyp8XcdGSAVEe8scWLwPm5IA4BDtriYqVnZti10cSVoZFIC77SFqQu/Kq ceOppAUzg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lj85m-0023A2-DM; Tue, 18 May 2021 22:21:34 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lj85g-00239H-Lo for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 22:21:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=6wvxlnMACzl5Vgyrn4bxRllNgosr37fqx5aWg2Pc570=; b=C5nyda1JyGTOZJwGGZRu4fvUNy i6W1p7s5U5LyylQMXyi8NrEPTfZlaiJo6wTJKxKXQUDfLlohS/NlG4suW5FBxL2AzxLKGYBE+jwCY e0Rb1sfkqhM7mXQVTMXvbOoQi7V+3FEWLREjb6MWQalcoq1zaKc0WTHuV/WLs22CFfaxy3JdLiPol ohfxxAM1E72/1p9p83GqWqZ5EE7nCyKLP3Bhzurhy5TR2WvXgWHWkT7oTatfCEzj0C9ux+z9GSQUA GiHT1YsT4IPaGf3W2BRC3nKaMutDK65YM5tTBrTjTzw5ghDUZiRn20Yj5GJ9Svzf3Y6dKBUDboWic 1b3OOAJA==; Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lj85e-00EzzX-3Y for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 22:21:27 +0000 Received: by mail-lj1-x229.google.com with SMTP id e2so6954392ljk.4 for ; Tue, 18 May 2021 15:21:25 -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=6wvxlnMACzl5Vgyrn4bxRllNgosr37fqx5aWg2Pc570=; b=uimXX1kMk7Yd1tMNua5/EW3Dr0eu10uzFXDOL6LNd1bgX0TH2xjaIu/RImU4snFEBE jJ5x8BDkyRY22nVbRAwfkSkv3dq/e+P6EKZKLA65OH95Li335DtCzXXBEv/m/NF6f8m7 Zvx0d5XkofbSuRhx8CUOG8f4F8w92ZeCrLAKZ1kZzVIuHE+ASUG4aCHpVhcONpYFvaZa zgv5uxd+BeEyxlX0a/thQev7DZ0Vi93CC9L/ap9flZ2tM2N+IyammDpuAjrGLvLiMnw5 RkHMjKFgALjIC4jrucVLN7UmnnkQCFd3rE6AXImJZ5aXalsrR5NbaUjzayIFlHtmmq7E LfYQ== 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=6wvxlnMACzl5Vgyrn4bxRllNgosr37fqx5aWg2Pc570=; b=hwO6bJlUCjBkNDbjB7gxodsMZyolQ55o05iMwKZBsqca17oI6Q/z/3l2R8BK/M4x45 /TR2z5Mytpcb05y8XVwbvj+8lN/9uaknIQG/Z1ekgFA4vRxBnNIFPu1BfaWisN18nLfn 1ePqMTU8EBaCKDUQJgYWT8ZfuKJJY94jMxnqhYhQQqQSp9kymg1o2Gh2G6Ysab8b1yHX 2YNM6EA+AB8UpYuqJt6t8SQiS7Zk+k45aWtCFgps6YUWzNZqsXvZwTzinsh+2WQA8ZjO hnRAtmV1LzqYk2jCNax4vPg3mDZaTjoKdql/Y07hmf4fM/cZrEGzzVNouQVqY+wq4uAy xRSA== X-Gm-Message-State: AOAM531rjJRyXyFp2UKki4j512ZjeUnhMtOH0v3oTpA0lE2jGdbJaB/D hV0c1mF4EdgW6q5bVeN43AAM1TlebsVeU9qAB8bCwA== X-Google-Smtp-Source: ABdhPJwlnW3ly6Ny6e9IIz9/CA7MNOePxxOU0BqKeMkRRi+b2Ljau2EQiV/khaJy56dbImbe7rM07lY5GpAgcnCGeSA= X-Received: by 2002:a2e:889a:: with SMTP id k26mr5694835lji.438.1621376484445; Tue, 18 May 2021 15:21:24 -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:21:13 +0200 Message-ID: Subject: Re: [PATCH 4/4] ARM: change vmalloc_start to vmalloc_size To: "Russell King (Oracle)" Cc: Yanfei Xu , Mike Rapoport , Ard Biesheuvel , Andrew Morton , Hailong liu , Tian Tao , Linux ARM , linux-kernel X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_152126_167554_6DEEC3C4 X-CRM114-Status: GOOD ( 10.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, May 18, 2021 at 2:15 PM Russell King (Oracle) wrote: > Rather than storing the start of vmalloc space, store the size, and > move the calculation into adjust_lowmem_limit(). We now have one single > place where this calculation takes place. > > Signed-off-by: Russell King (Oracle) This is really nice. Reviewed-by: Linus Walleij Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel