Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp3744762ybg; Sun, 7 Jun 2020 09:14:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxg9INckQ1lKVUJ2qTLyrRkDhh4rwQ4JRLwpWaW/1jlcKKRFQNLC59xt3lFK0rnRQONqzL X-Received: by 2002:a17:906:a458:: with SMTP id cb24mr17173168ejb.5.1591546482219; Sun, 07 Jun 2020 09:14:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591546482; cv=none; d=google.com; s=arc-20160816; b=WCCt9je2NSJozfiectO6C9X58nU8B7a3rBKO6F278OWHriEj3VTvAAMuJ3yalaA7aK +1HZN5YOxjFgnuqGAMOlAyRx+UJuVjEuM5PE7MjYFnwuBsQ7bAGtqawQ8JxxF+TlMSnX 8r1irerYq8wtH4FmNWKcx4h1FoTk8TdOLsV1u2TIqmdcYf4lQzhDVKNI9wDYN/+2DuDv io2yTfCNc8D+JePL8W96IppzhJY6xXLobvmLMBwTBzGhOddkM8BIHqu+nKDg9g4JpY+c AdckSetMjcbKZYgbfd49yHx0QKlWkgbF4/1qGf9jBUqs3SsBGNmgAEkb0M+xeVNsZXUt jdTw== 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=njlruQYuAV0d21dmSUrYb6a5f5iQ0Xnz6igzcVOYFeY=; b=WZ3CaOPx1X+WKvkbkzqMgF1AFEk9q3HiwMBCoD2w/e0/6tvH7N9V27m2SsQnt6T7wm HLAxO9x0VoPSzs7i4RkfAc/X0Tg6foAIlXkc2M4slx7C5yJlWWBgl+0UT1bpTYqDmfJF JLahsX11DDkZHrPAU1K/r450725NqWCtuq9SfdbMqukWNp5vj/Mulg9IVeKMUoS8iNam O87kpUaEEiZanmjL+ehutS/N+Li+Vwk0LpTuW9Ez9RA2JqYc3An7Wj5efu8UJiSsNoME EfgRI5PuAVItD4cauSphUjVfGXhuH/5YPESML3WEAlaaKsUn4NfGcUiit/Ln4tNoEAqK QvgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=sCen6iQU; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z2si7044822edk.387.2020.06.07.09.14.19; Sun, 07 Jun 2020 09:14:42 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=sCen6iQU; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726662AbgFGQLs (ORCPT + 99 others); Sun, 7 Jun 2020 12:11:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726571AbgFGQLs (ORCPT ); Sun, 7 Jun 2020 12:11:48 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0AF6C08C5C3 for ; Sun, 7 Jun 2020 09:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=njlruQYuAV0d21dmSUrYb6a5f5iQ0Xnz6igzcVOYFeY=; b=sCen6iQUxrv+B3NZP/uU3Z8u3 1vWhrMKVqis6hCQ+QNKmV2K3mjA15DOW5Ao25BSqS5Rx5WjHVzx+C1cu0TmpFpgpMFPO5BByWsDRv fPlRzXYqnz3GZ6Wn+xCLDAi7faJzdrEIus4VmvX989nXY3nnMAQkg9bG7ZUe4lNvE2eU7WwwxuwT8 TQOOhWBtl10+jvLCM4DqgT6qMZkdjGklrmv3baVitSRy7YElSiQ7+lu+BxirodBnOPqGyYWwV33uN +7x+gu+Kv+eHxhY5li99oodfEVfkS41PIkTOpwRB+pNyx/cA4n7Lthnzb1fiQFW6JMZ1/d1luoj2/ BvWDLhxaw==; Received: from shell.armlinux.org.uk ([2002:4e20:1eda:1:5054:ff:fe00:4ec]:40082) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhxtQ-0006jA-0t; Sun, 07 Jun 2020 17:11:33 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1jhxtE-0001Dc-K3; Sun, 07 Jun 2020 17:11:16 +0100 Date: Sun, 7 Jun 2020 17:11:16 +0100 From: Russell King - ARM Linux admin To: afzal mohammed Cc: Arnd Bergmann , Linux ARM , "linux-kernel@vger.kernel.org" Subject: Re: ARM: vmsplit 4g/4g Message-ID: <20200607161116.GN1551@shell.armlinux.org.uk> References: <20200512104758.GA12980@afzalpc> <20200514111755.GA4997@afzalpc> <20200514133545.GA5020@afzalpc> <20200516060624.GA6371@afzalpc> <20200607125932.GA4576@afzalpc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200607125932.GA4576@afzalpc> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 07, 2020 at 06:29:32PM +0530, afzal mohammed wrote: > Hi, > > On Sat, May 16, 2020 at 09:35:57AM +0200, Arnd Bergmann wrote: > > On Sat, May 16, 2020 at 8:06 AM afzal mohammed wrote: > > > > 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. > > get_user_pages_fast() followed by kmap_atomic() & then memcpy() seems > to work in principle for user copy. Have you done any performance evaluation of the changes yet? I think it would be a good idea to keep that in the picture. If there's any significant regression, then that will need addressing. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC for 0.8m (est. 1762m) line in suburbia: sync at 13.1Mbps down 424kbps up