Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp551134ybg; Fri, 12 Jun 2020 08:24:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEBidtuNR9Ri3g5pcMrDyi2/v26E0N7grQFzdkn0S/2Ol3GV3+DTnKKV9gke8V69aj+o+k X-Received: by 2002:a17:906:7212:: with SMTP id m18mr13670770ejk.29.1591975470869; Fri, 12 Jun 2020 08:24:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591975470; cv=none; d=google.com; s=arc-20160816; b=HwXU+gSNda+GDq3XkaCyQZpPyptGl7x70PNM//zWxOamPChLP2e5IKvZAnobH/WKiK EpIUPUK/cIjQVCjHd5+dwaSl9DCq9+37MFl2fubJbadppxCh9PpehkLLJrojpiXHmr8X LcGWapjY7lq2z/ZPV1WGyIrcLoKXYUWxHzShDhY3/JpbjQjN+grrfoO6MxdtctRs8UIc wx3N2ipJlMDKlNkpWDgrAGdh15T2itAYnxJk6EbRBoMCDSHZVqix0YWI6i/AtddmBt3Z m+tFGi8nvRw17z6zqvYvzgNWr9ple97dEJjWORCot7sfk1Lq9DQqWR8kJhwRitPRXr+B GqUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature:dkim-signature; bh=n5FR6iibgtZ/9UQ1Fs+oOdprIfQ6u1hoMOEYm9n6lpI=; b=kS8TXqJCbqDz6HhZC7Nxcfa6BBjD0qkBBx460GoI4698Fgq4Q+5DFiVYfiNMiRPzqH Cxkb/PHIIft6kF/AUQqO/qbHlqNo9yvF3QymS0BvQJqk6e1RHshF96Vuf0dDgX8h6cLt 76oLW6W6WalcbnHARL4YrXoOzqG+EZnE+nOIk1qkk7wvHu3+6wn4LcrySnx2YBw9dQ9D DdoAHpR0Ec+Wv06y3NzyNIrmgDUEgGEeyMePQqaGsBW23NaXyoHR1hJ2/9Fjyuni89Ne Dj1hYqsgqQjkKn6DlfElzgnqYxfiMHiIBAEiCdiLcj+FS4LV/oNwK35F7roj+fgzdRj2 iJsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=ch+G5Ff+; dkim=temperror (no key for signature) header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b=v5jS8qjx; 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 e15si3666721edq.435.2020.06.12.08.24.08; Fri, 12 Jun 2020 08:24:30 -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=@pobox.com header.s=sasl header.b=ch+G5Ff+; dkim=temperror (no key for signature) header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b=v5jS8qjx; 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 S1726586AbgFLPTc (ORCPT + 99 others); Fri, 12 Jun 2020 11:19:32 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:52335 "EHLO pb-smtp20.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbgFLPTc (ORCPT ); Fri, 12 Jun 2020 11:19:32 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 1ED59E4CC8; Fri, 12 Jun 2020 11:19:30 -0400 (EDT) (envelope-from nico@fluxnic.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sasl; bh=22t9Ut8LGNPQZcuwBoygY9sFDBQ=; b=ch+G5F f+rL9Y26JkM0TLDTfVupXzFMDulMjp1sMBUdGKFMmjp1modPgIygeyoZTyVOuRw+ fAuBoAQA+HW7pEcZbxOFf4Dghu2GwFStiVqRRRR3Q8O6UK3MSddf8ZTSVi45wdPK /tknsJa6jpntcZs4/0B54vnBDPDs0lG8k5Qso= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 1609AE4CC7; Fri, 12 Jun 2020 11:19:30 -0400 (EDT) (envelope-from nico@fluxnic.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=fluxnic.net; h=date:from:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type; s=2016-12.pbsmtp; bh=+j2zvxY3yyACYmz62lMN5mkK3euzNoR2JXP7LPUWCaA=; b=v5jS8qjxtE91zh+Qiqg4lLx/8UpHSwhsar4xdmNNdFLRGtCwuesR9hp4v2lgfr+ll9ZTtCwf8AN6/HgHuXA2zK9L8ITkZ6F2455mW1BwgExJK+QV1xJsoYm/cGlhr4iSM6jEV/K36ENBr7MQ3cqJMoLFd3dgAtYHEZXMvAR3AN4= Received: from yoda.home (unknown [24.203.50.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id DCCC5E4CC3; Fri, 12 Jun 2020 11:19:25 -0400 (EDT) (envelope-from nico@fluxnic.net) Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTPSA id 011CC2DA0AF0; Fri, 12 Jun 2020 11:19:23 -0400 (EDT) Date: Fri, 12 Jun 2020 11:19:23 -0400 (EDT) From: Nicolas Pitre To: afzal mohammed cc: Russell King - ARM Linux admin , Arnd Bergmann , Linus Walleij , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon Subject: Re: [RFC 0/3] ARM: copy_{from,to}_user() for vmsplit 4g/4g In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Pobox-Relay-ID: 1A10A78E-ACC0-11EA-AF12-B0405B776F7B-78420484!pb-smtp20.pobox.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 12 Jun 2020, afzal mohammed wrote: > Performance wise, results are not encouraging, 'dd' on tmpfs results, > > ARM Cortex-A8, BeagleBone White (256MiB RAM): > w/o series - ~29.5 MB/s > w/ series - ~20.5 MB/s > w/ series & highmem disabled - ~21.2 MB/s > > On Cortex-A15(2GiB RAM) in QEMU: > w/o series - ~4 MB/s > w/ series - ~2.6 MB/s > > Roughly a one-third drop in performance. Disabling highmem improves > performance only slightly. Could you compare with CONFIG_UACCESS_WITH_MEMCPY as well? Nicolas