Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1386657ybk; Thu, 14 May 2020 07:46:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUbMQJJ+vFSfbLJKa3VDYjfWqw/p4bpEU45BnWuCftvkaRG7PpsOL606Bl2575hajHPLN7 X-Received: by 2002:a50:a624:: with SMTP id d33mr4397283edc.58.1589467612369; Thu, 14 May 2020 07:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589467612; cv=none; d=google.com; s=arc-20160816; b=nDJHfYxbwe1Ma+hcMi3fB4LFMmkzoaFcH4Fe09OoGNtJ9UIouyIA8CuTeuEmb6wvdF uRKcSD8FvLwfQcTLKkAldl0YhltnSnXN2LyI+qTrQVK+VR3OT0+azstQO+ImUCW6ZRDJ 8KyAXb2qLd54sNW0ehsKJGPfIv09YScW5boajPqCzMv1YKVI3dSCiOqITOwT0cPEzql4 hRQeF2X4OX7sPPi1VXREjCw4LSjbe54V36vYj3ofpjL66gH1t8QGBTBUXtUg/Vu+VQ9Q EljVqWLcq3rIXNIoiIECnYvCY1thuLdzx3esKcuAwVd5rPpchn5Xk5nHUQtf/fKmuW4i tfNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3517NpCaDBacg/Dwp902mIgUINgvR6pFPGbL/kslfaY=; b=paA64WYZp3YAcpBEtwYTtSe1QuuVvlF8WtdFeNbUICXF01zWEiOVeFVO/jS2ssccnE XMqJpS4EJC6Bv16e6ANYmt6jCfV3Ldjh5WdSNQIgG+GrpN6t0bTGIm59hMoeV3VB8RKR Bfmd4Y6rdkeB9kfnFz5+sn2k1AgjCTWNuYlBcoucRmEhz1MBCoteusOj9akndNE3KatL WPJBjE1ewE/GT9giYRYW1zJYZ+Khf35JiBKPuRWNZ0sXIdcQKa8/jVvKnw+SHp46JFzh AXwNCbR7FXiSAB3+ommSI2cATljtekAum8RY30I5eNGHoQHO8xG3s4NAcOcVHkchHzsS 907Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="blFSU6/k"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y92si702586edy.117.2020.05.14.07.46.29; Thu, 14 May 2020 07:46:52 -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=@gmail.com header.s=20161025 header.b="blFSU6/k"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727958AbgENOoZ (ORCPT + 99 others); Thu, 14 May 2020 10:44:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbgENOoY (ORCPT ); Thu, 14 May 2020 10:44:24 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98384C061A0C for ; Thu, 14 May 2020 07:44:24 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id x77so1411524pfc.0 for ; Thu, 14 May 2020 07:44:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3517NpCaDBacg/Dwp902mIgUINgvR6pFPGbL/kslfaY=; b=blFSU6/kX50CoVlrbhPDy8DHQmKvZ1iW5M5e060phVc6yrJAI7mhafMTdfQ8a5yg8K kek6m1LiF3MDFjjFB7XMLpcjP1b9fqTCsBplPrLzh4BzDHMECFlXzJ/v6D5aNI58YqSr zdol8qDrATXLReGmRCXdVRXEgxpVJqqJVH0+svDutlfjhKLEGTuwFY3uUpvF8xQU1K++ 6vnZuE4QNeEhxUt5c7ryXSZcdtH+lGXE2bT3GAl8WnVbDe/ABhm8gAeiGVfLLW9Kf+UD 05RdbAQ3f9Hk5nCbXPcQTSu4Ox7vTPoXvCk+Bb+0RHi3LoGRwiFUEMMUPKMRGvu+6UyP 6QfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3517NpCaDBacg/Dwp902mIgUINgvR6pFPGbL/kslfaY=; b=dwUdk7JzHsjtjI6kn5DcDiI2EVBXGGTIs59Oy4BA6pNKnipnRwjUXGVtj1U/DkGnne W7WGSFTCfBM5eSviA16B46lv0j8rPZETEf1Oy1WZn/0JajgpwzI/Fla8n9nbNWu+wEDo xrgFuhtCG/TS0gOXLn5Y5OHn0kSS/FlidSVXI4ZHmsImwGsfX72fuWuGa2oDHhBngmZM qBxY6H6JvYTB9YXRUnhjHZhrefZLb+YHo/mRabVvZxzLP9Q3S+fiAKQCwmxckTg8o3WZ SMnhw4UpIF2G6a6OhpbY65eWj147bN3mNpuio1b+C+N/qLOAlKBp0CyX6HrVEuXm3zg7 WE3Q== X-Gm-Message-State: AOAM530O46+mvxVvNL1FfntksUc+XPedXvlWDFyTHCoWJCbG1cdkZQ7c YlCoMG5sNUGvDUc/gwDGw+o= X-Received: by 2002:aa7:8c0a:: with SMTP id c10mr5081607pfd.177.1589467464241; Thu, 14 May 2020 07:44:24 -0700 (PDT) Received: from localhost ([49.207.51.148]) by smtp.gmail.com with ESMTPSA id o21sm18060707pjr.37.2020.05.14.07.44.23 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 May 2020 07:44:23 -0700 (PDT) Date: Thu, 14 May 2020 20:14:21 +0530 From: afzal mohammed To: Arnd Bergmann Cc: Russell King , Linux ARM , "linux-kernel@vger.kernel.org" Subject: Re: ARM: static kernel in vmalloc space Message-ID: <20200514144421.GA6090@afzalpc> References: <20200504091018.GA24897@afzalpc> <20200511142113.GA31707@afzalpc> <20200512104758.GA12980@afzalpc> <20200514111755.GA4997@afzalpc> <20200514133545.GA5020@afzalpc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200514133545.GA5020@afzalpc> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, May 14, 2020 at 07:05:45PM +0530, afzal mohammed wrote: > So if we make VMSPLIT_4G_4G, depends on !HIGH_MEMORY (w/ mention of > caveat in Kconfig help that this is meant for platforms w/ <=4GB), then > we can do copy_{from,to}_user the same way currently do, and no need to > do the user page pinning & kmap, right ? i think user page pinning is still required, but kmap can be avoided by using lowmem corresponding to that page, right ?, or am i completely wrong ? Regards afzal