Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1095423ybk; Sat, 16 May 2020 00:39:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzs8xqPXFbcsv/lRlI3HGWoY0g0Qqc4pLfDdcT2aIPzq2u1J3Q1jVK+mjp5yUA3TLczlve+ X-Received: by 2002:a50:9603:: with SMTP id y3mr6260670eda.80.1589614756088; Sat, 16 May 2020 00:39:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589614756; cv=none; d=google.com; s=arc-20160816; b=PIKw74sNKYh57RGzRNacOFg2I7pyG/ZOzPq6OSfvjQ2JWgrr06D85lVNSvt4Gn/E9s X+TaYCOgtGtiJ4APw9LtNKo6+CJSqXhMYNtB9G8fJy//im37AbZpRyf7aqQJi9H4Rd1W 9CJPOO9W355cRF3l/VILXSewIvDPSfrqj4NjiRxj0y6yk3IjgZ/7nFoUAu+tugIBzvzO xO22F3/Vk/YGX0Z4edWhZxcPcqOKPD3q/42m/KkjZwV+rx648fsKRJWdRYEmLe47oW6M fqdDjUfWe7g4ce5u1/q7SVbiTcWKyenAw0woRLKVu1zL3lY4aNYn/61IuOuVkmUH1Z/8 8uLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=pZp3COEcnG9csP6bArfziJKXa2ZTQyu0Qno8KS/v+ww=; b=USH9X6iJse0vpWCh3QjrUE9rivNFD7T/nFeBg0PFCywNNaKUainkhvOtMyaTfxEdZL 3OjdiWzcXKEf/uHadEONRKpGNKiNF2DG6f79V9hSmsuC4x+ML+mQVp/fwmKY5UPnbrkA fWkC/G93QXlriDNzdb6nznmmg2k2eGUtyma46j6kTlO5owszidQ5kBeHGiZcg9v1taZ5 0YR7N7sJd0NOMxeUFxdLyIPSWHkG7AlCI5cqPXpHig9iGVtmjZAazmGyXRRAR0814mYF +g3jSlz7qdtafQWf1IJ030a/rZkVStl1AVJ/H6Epb7hURk83bUl4w/hQoiDKmQHoL5JM 8u7w== 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 v11si2431729edy.483.2020.05.16.00.38.39; Sat, 16 May 2020 00:39:16 -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 S1726303AbgEPHgQ (ORCPT + 99 others); Sat, 16 May 2020 03:36:16 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:51043 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbgEPHgQ (ORCPT ); Sat, 16 May 2020 03:36:16 -0400 Received: from mail-qk1-f175.google.com ([209.85.222.175]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MJVY8-1jpKsg1ku8-00JttS for ; Sat, 16 May 2020 09:36:14 +0200 Received: by mail-qk1-f175.google.com with SMTP id n14so5054516qke.8 for ; Sat, 16 May 2020 00:36:14 -0700 (PDT) X-Gm-Message-State: AOAM530d9paL23/U6YFiTrRYEYGsmWW7RCVxlZPul77LC65bgO6TV4ut vdi6q517DzsVNkBHh8k3y9bITj1iJG8bXrWmOzE= X-Received: by 2002:a37:c96:: with SMTP id 144mr7046057qkm.138.1589614573331; Sat, 16 May 2020 00:36:13 -0700 (PDT) MIME-Version: 1.0 References: <20200504091018.GA24897@afzalpc> <20200511142113.GA31707@afzalpc> <20200512104758.GA12980@afzalpc> <20200514111755.GA4997@afzalpc> <20200514133545.GA5020@afzalpc> <20200516060624.GA6371@afzalpc> In-Reply-To: <20200516060624.GA6371@afzalpc> From: Arnd Bergmann Date: Sat, 16 May 2020 09:35:57 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ARM: static kernel in vmalloc space To: afzal mohammed Cc: Russell King , Linux ARM , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:2X1VkGr2casfH9eFrkDJOEKVUQIetUtHPneBsZW5AB0JisxpcKO a5EQ8yURrBz+hSzpMyqfpUHHv5qxYjmb6nFHFoCJFuH8ecRkYdHa+QuXs2TNjzC0J/G0SlN JEzjBVx3l6OQrD4yBak4RpwiDjhR6KMaHc4aKJeorWMQ+G4DWxYfiFlsID5DlsTc/txIfbR H+aUymcAtNx3Zpldhr1ow== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:6EtpMMkLAC8=:ms5w/fstygfKC/0qOaycWc I6mu7n2TEJgwtNMS0yhUFRAap0DLCBPDMtUj+St/T51ENOi8AAa3y2dygiIax8jhqOjOAWz0l c17sMFH/nkTa/KKJkz3CdaR4GY+lWLpWN28IH9kpVzOVA7Rer5NW8QaJMYREfo0Mj2croZJAz t0afSCOMIsyxvubWucW4GGqFLhcZw/hjOqEdDIkL6/XGRHTTUpgsp1j4go4snqDvJsRij2UJO iSKJA+8bM6AGMIUZ8+YQ1Dqod0bYBiFXNLz7BE6UdfN4ntZYzuIwst9ftF6Vy20oWoWBBUjUU bWZp1LhrKhjTaCqiwzDTkKBV0alaBjsGz5Vm6mlPDMsnQCQYZI1izXV0nKFnvgLHTi+TJLjAY 2BIdCM7InEA4oC+KbMaGRgeDcnCWA1Ta0K1mB/uSVZBoYGTe2d5pmVukjJeAhzUk+ASNTO58R 0guWN+6xzM5H5XMJL90IErQCl2lD3SKnLAaHgBSB10QuCwIMdAmIngruDUmbIFTLgSQIhETWT 8ubE8D16UVS3QvZuPQcDRYh1+Dwh2FL3iOyg4hq1eGaAE3x+ow67SHivRhhqVDqHio88Q3al/ JugxhftgFX+FCsG+AtSvHPYJu8V7QlBxKuup3nZblrPMCdZyzDZlfOFxtT6qKMir0UpSt1VZm AWq6RVRGPYxvwag2sgNcv9v81dZuxGk2Uku8r1W0qHspjSLjDHE7E9PLTuHCx9CAvAfOkExta DYwtBbq1mcEIpCxzdJE0gF8Va8ZzDPhN6Ajq+Qy4885Ye+GMr2zwkNIx1fjh4vgD82haT2qSx bdaLZKpwkNuKdEvpmJcaIbq29lhwf1bT8XVFtrJVnGQvwRxUVY= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 16, 2020 at 8:06 AM afzal mohammed wrote: > > On Thu, May 14, 2020 at 05:32:41PM +0200, Arnd Bergmann wrote: > > > Typical distros currently offer two kernels, with and without LPAE, > > and they probably don't want to add a third one for LPAE with > > either highmem or vmsplit-4g-4g. Having extra user address > > space and more lowmem is both going to help users that > > still have 8GB configurations. > > Okay, so the conclusion i take is, > > 1. VMSPLIT 4G/4G have to live alongside highmem > 2. For user space copy, do pinning followed by kmap Right, though kmap_atomic() should be sufficient here because it is always a short-lived mapping. Arnd