Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4458538ybg; Mon, 8 Jun 2020 08:19:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMPqokFR6ZMSfVGGw0SappS+bi/c8jQZHHRzeb06pmRJYcIqqENnnSGOBGBQ2Leh1DbqGC X-Received: by 2002:a17:906:16d3:: with SMTP id t19mr20484359ejd.297.1591629595253; Mon, 08 Jun 2020 08:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591629595; cv=none; d=google.com; s=arc-20160816; b=FhsguBNlyd6bTYYAC3VOAFFffRw2mbVBU8MpqUmLq3oJf9EBtatbsBNCh1ydO++qY7 B5WKfH2FY0AUGRdg70cl+1tnO7OdRRwp1s4txF48cq74nyTT3MrstmeisIDMWm5V/PgX g0yyWUMxW8ylMEA/LjiL1cOBZOElbOFOwqpSZ9uEFSOMcD+UlX4CWFgYikBQsNP6dbJ5 uRCjrl9zoOyfQ5nBKzxE3pyzf9MFl2qxZt+jbdP4wU8ypBfoFB+XHTWbVic48I9mFKjh TzFeY5+QVFXhvKZxGMHn700zQJqZcMhoRIb5FyFlv2jmUSHsapaEzcnTZj8XLpn+czSa PyNA== 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=RWmFg/FpOXpC8fC4p5EowACnCJsVRXBo99Iac+1RUe4=; b=Dzay/ulYYf+33NETWShzJDXheyyGgJyZtS9fCUdZZ/F8QHoFsu9c18meQxCHCwUAo+ LDt8UGDlDONHLT0mx8z45p5ZMlnj9hy0Dqg43irL4/3GIsjxBJX6N+pwC0bTLstAt6gc 3iRxdrpYsXldlGI/ln4OC091jjxRFwlUA25vJ20XkBdrGiB7fZ/ZB+KW2Uqm5lWgXLzh uTFZwXkN5th73aETQIyf8gSPIqCCWs7p2CbdPN3GaFKXVzKXNdMmk1fVLe8Ax0s3E2cd Swc63pv7m58yvN1fWCb1QFp4DnhYt7L3tYZD7/3TEtdseSLXf6v0+OaSdw3VSrwpHAIy /k2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BEEjtcL9; 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 a8si9465056ejp.552.2020.06.08.08.19.32; Mon, 08 Jun 2020 08:19:55 -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=BEEjtcL9; 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 S1729961AbgFHPRe (ORCPT + 99 others); Mon, 8 Jun 2020 11:17:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729843AbgFHPRb (ORCPT ); Mon, 8 Jun 2020 11:17:31 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 843B7C08C5C2 for ; Mon, 8 Jun 2020 08:17:31 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id b5so8674133pfp.9 for ; Mon, 08 Jun 2020 08:17:31 -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=RWmFg/FpOXpC8fC4p5EowACnCJsVRXBo99Iac+1RUe4=; b=BEEjtcL9BiUhCC2pxnlGAkadTKNs4w++y/f3l+KLZu0KfEVRUYhdHhfTSjiwJBuSNF aEbVyF4z44sFB9n5JV8Cl2s7WnDE2WViyJbgP0a0VkWgXG7T4CEbIh1guLuHAJi+fHkD grJvKw1Bbp28FedBNkTUbE/VbdS3nz04+ortAK5BdrR+K+jv/weK5D/LYbuTsHbaR6Ug Sp5lI/Tu6gYx3g2e4DiGKtUCBKE/m09Bs1ED3hwEK5d7rDxitnBfgt0qqlk2C+2NdApu x7yqu2F2CMXYIsCE3HQBCfXO2eYdz+Q2xY18G1vb6Jx8WOOm0T5QBo7O0xLJ1652y9ku eAzg== 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=RWmFg/FpOXpC8fC4p5EowACnCJsVRXBo99Iac+1RUe4=; b=JsClVApG3ez39UwDA9jBpIZ8CuPgke8/GpPt+w97xRNjdk6jXfvCEjDpncLi8aq8kv Teu4xuhlxjS16ghCRRh3g0XtAgerTg+DBiz5SVjfE2iZrBFGIocem/dzVksQIevhtLc4 WTH3cxPxXZm9yQOX30O+lA0pODzEsTRbpZQRCeFhdWAPruAAKIkiTT30cy27raemLb45 U/FtePF72t9Bw4o8s+xfIIvQnRyG6lJIsYZ9sDrgr75Q5coGcDCV4YJjTVRgQ8cGL1eA O8lCEOaKvYoMZIWoHcatbs/JtQVG9EHGEb1KkOatNMxRYYd5L99oeps/PUXEJNBI6uBd ma8A== X-Gm-Message-State: AOAM532Og1zFsn+Ja1QT6G3IkM24uqh9Bf/70o47lEslHtHKqQME4BQM 4nBu4F2rruMkzU95frCIn9U= X-Received: by 2002:a63:4b0a:: with SMTP id y10mr20731564pga.57.1591629450583; Mon, 08 Jun 2020 08:17:30 -0700 (PDT) Received: from localhost ([49.207.54.212]) by smtp.gmail.com with ESMTPSA id h20sm7391252pfo.105.2020.06.08.08.17.29 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Jun 2020 08:17:29 -0700 (PDT) Date: Mon, 8 Jun 2020 20:47:27 +0530 From: afzal mohammed To: Arnd Bergmann Cc: Russell King , Linux ARM , "linux-kernel@vger.kernel.org" Subject: Re: ARM: vmsplit 4g/4g Message-ID: <20200608151727.GA5017@afzalpc> References: <20200514111755.GA4997@afzalpc> <20200514133545.GA5020@afzalpc> <20200516060624.GA6371@afzalpc> <20200607125932.GA4576@afzalpc> <20200608111834.GB5736@afzalpc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Mon, Jun 08, 2020 at 04:43:57PM +0200, Arnd Bergmann wrote: > There is another difference: get_user_pages_fast() does not return > a vm_area_struct pointer, which is where you would check the access > permissions. I suppose those pointers could not be returned to callers > that don't already hold the mmap_sem. Ok, thanks for the details, i need to familiarize better with mm. Regards afzal