Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp358116ybt; Sat, 13 Jun 2020 06:45:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwN9/IWawhgwCFnuMCemF4CSKlkNetNcWMMCaSD8klRI3+KQF6gLYSS6ifxB4ZyFnCsDVXv X-Received: by 2002:a17:906:6b8e:: with SMTP id l14mr18309318ejr.32.1592055952057; Sat, 13 Jun 2020 06:45:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592055952; cv=none; d=google.com; s=arc-20160816; b=N6nFre1S6WyIbruQVYXxjII+DAwiUl4ZF4wyuEgqlgDAwkdwXIzQNqadin7Uxkkjtt wY52bFDsRh75FTU6FNRzyVAdCpL422AUejlaxEm8cPWsOzP6pePrayrWaZHaQGvk8dnh cEveRIAZ3WYsrm+68bCQshfq5plvph9iX0/cSAJYrcJuBH7U7Lz6v5QygRNWd8B+VxJ3 9KSkGRUiKUvrqOrkg07qFn/1JEg7hmkYJBFiBzreKYMfepY5nE3/wsdMIVIOi0p7Mv/m tCW0RxPOtPcuTLdwCo26WDZSC8oGsmM6la0ukaYTdPU0eA9jLcCbiEgFjoVZ1hdXLvHh NY/g== 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=lhjeK9z5v60R6YHO++XPi5NmF7IKqnjXEf4qitMfo/U=; b=dKksOj/Qe2bgITRF7ojIO9eqEm399mU/oAWSmEOLRhbGCQmxuBUQPzbhlS1qg0awsx ltfQxFn14SCmtI5EV5BYI4Vw3NDv+YLlnEqVbc/je9AVi4PtoMt/DHr1vF62tvXDUNKA f3YR/HKm2RZKwVhYO3cgfYOqMXQ9urY9zih8oPQUYENqzOgoFbb3L/TKtdXkPA51izKX cNX4ALdYz4FDOk961Duuq2+DxJdVacbHU8GaHn4jp3u4k2ywWwJp+pQ+Lf/783rRpTKV cxnB/o86Dgywp2dpqGYBPWVV5WXGLsQcz96CXxIzNtt59pQ1POtqu0CfaMIFknfiLMvp N3BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vOte31zJ; 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 cf23si5818389ejb.540.2020.06.13.06.45.28; Sat, 13 Jun 2020 06:45: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=vOte31zJ; 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 S1726392AbgFMNmk (ORCPT + 99 others); Sat, 13 Jun 2020 09:42:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbgFMNmk (ORCPT ); Sat, 13 Jun 2020 09:42:40 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 103F0C03E96F for ; Sat, 13 Jun 2020 06:42:39 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id t7so5471569pgt.3 for ; Sat, 13 Jun 2020 06:42:39 -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=lhjeK9z5v60R6YHO++XPi5NmF7IKqnjXEf4qitMfo/U=; b=vOte31zJljugGB1gDdmNCw1Zmf5029uSmTy/iOUH69zfFgblQ5Cpr8W2OmXyDfOKDM EHBL0q71Lv6HTpbATGzgAFlEvdM9phMRFou3BnKj50gGjlW1OjyyQ9zvZAbp6Oab31Sf BjyPV9h4JNt8Dp6cgMHpvcAwoJAti2LLdnxul2rfod+QSWImXywd8dMoptSqi3Wec43f YSkym2V5cgO4zf4uxlvZc0Fcg+k4A3IFZv8SCem0uBbzYydRpf0dO3jwVXeJaPQj5Rs9 vr+jDX45iCsiTN+XMTsEyQLZ28Bwhely3o8e5oo+2Vhkxtoo+Jk6CcL7ucLEpdjp8Hyq UIEw== 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=lhjeK9z5v60R6YHO++XPi5NmF7IKqnjXEf4qitMfo/U=; b=YYxVFvaIkeGrb1YryeHj0FgITANl/PLZYPpR2E9eQrYoeh1D+80qbi5kU/HUt0Ram3 JBpVaeXnOeAZeXxN2JXewJ5x6GVTzp9j/p84kdJFGzy27HWj933b6noNrW0fSQAs6b6E FYb9fClwDDZmXFKtU3BneUmzj4HJtikxggHvzI72ywXDCOlul+PIzvrulCMho7aqek8J 8dRhVcV206ej4AQOSpOoz5b2elii+Nt6Xl0TVJsdoo7uKF1u+X1PKSrxT7o5GzBe3Pep dJHjn89l2Eup2h1t9QTqbn9W3KiU2XtU3MT55jnRk7KyFM7g62fNft3Tl1SJbkEJQ49a SrTg== X-Gm-Message-State: AOAM531rbunFawVC6X3+MJyuniNDtH5eLZDcQzEhPfmZIej4jGUSNBHm syxhkrDPFUPAkyfnaEXdyAQ= X-Received: by 2002:a63:4d53:: with SMTP id n19mr12875818pgl.60.1592055758583; Sat, 13 Jun 2020 06:42:38 -0700 (PDT) Received: from localhost ([49.207.210.132]) by smtp.gmail.com with ESMTPSA id u17sm8050602pgo.90.2020.06.13.06.42.37 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Jun 2020 06:42:37 -0700 (PDT) Date: Sat, 13 Jun 2020 19:12:36 +0530 From: afzal mohammed To: Al Viro Cc: Arnd Bergmann , Russell King - ARM Linux admin , Linus Walleij , "linux-kernel@vger.kernel.org" , Linux-MM , Linux ARM , Nicolas Pitre , Catalin Marinas , Will Deacon Subject: Re: [RFC 1/3] lib: copy_{from,to}_user using gup & kmap_atomic() Message-ID: <20200613134236.GA4086@afzalpc> References: <9e1de19f35e2d5e1d115c9ec3b7c3284b4a4e077.1591885760.git.afzal.mohd.ma@gmail.com> <20200612135538.GA13399@afzalpc> <20200613120432.GA5319@afzalpc> <20200613125126.GE23230@ZenIV.linux.org.uk> <20200613125615.GF23230@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200613125615.GF23230@ZenIV.linux.org.uk> 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 Sat, Jun 13, 2020 at 01:56:15PM +0100, Al Viro wrote: > Incidentally, what about get_user()/put_user()? _That_ is where it's > going to really hurt... All other uaccess routines are also planned to be added, posting only copy_{from,to}_user() was to get early feedback (mentioned in the cover letter) Regards afzal