From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEE2AC43331 for ; Thu, 2 Apr 2020 18:35:16 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 940CF20675 for ; Thu, 2 Apr 2020 18:35:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=c-s.fr header.i=@c-s.fr header.b="sDk1SEu9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 940CF20675 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=c-s.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 118408E0008; Thu, 2 Apr 2020 14:35:16 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0C8EB8E0007; Thu, 2 Apr 2020 14:35:16 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EF99B8E0008; Thu, 2 Apr 2020 14:35:15 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0117.hostedemail.com [216.40.44.117]) by kanga.kvack.org (Postfix) with ESMTP id D8A458E0007 for ; Thu, 2 Apr 2020 14:35:15 -0400 (EDT) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id A1E3D611A for ; Thu, 2 Apr 2020 18:35:15 +0000 (UTC) X-FDA: 76663767390.04.crime07_4ae921eeb4d3f X-HE-Tag: crime07_4ae921eeb4d3f X-Filterd-Recvd-Size: 3657 Received: from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30]) by imf32.hostedemail.com (Postfix) with ESMTP for ; Thu, 2 Apr 2020 18:35:14 +0000 (UTC) Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 48tWvg1mkHz9v0Dy; Thu, 2 Apr 2020 20:35:11 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=sDk1SEu9; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id vGOZxJA0GbEI; Thu, 2 Apr 2020 20:35:11 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 48tWvg0JMhz9v0Dw; Thu, 2 Apr 2020 20:35:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1585852511; bh=xsC8tyWdt4REunwIPC9Ykpfqa7PmWmLgFHcC/3QwWiI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=sDk1SEu9KbD6+CPdF0zQdsnvsipGxinh4BheDbsyX0gJNOiz0wAI5K5LR+I3/MHti 35Ooqvvfdd3pLQjLA0XRgV6pk+vqfu0AWlt+UcxdPIGsv/3guu0uVJqZMMdK3Fj+Mc IwU+7wszU6q2Km78BzOoHqXbJI3ksTWTIYia0lfk= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E3E978B940; Thu, 2 Apr 2020 20:35:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id yvBrCbyn7qgh; Thu, 2 Apr 2020 20:35:10 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id CE3238B925; Thu, 2 Apr 2020 20:35:09 +0200 (CEST) Subject: Re: [PATCH RESEND 1/4] uaccess: Add user_read_access_begin/end and user_write_access_begin/end To: Al Viro Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , airlied@linux.ie, daniel@ffwll.ch, torvalds@linux-foundation.org, akpm@linux-foundation.org, keescook@chromium.org, hpa@zytor.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, Russell King , Christian Borntraeger References: <27106d62fdbd4ffb47796236050e418131cb837f.1585811416.git.christophe.leroy@c-s.fr> <20200402162942.GG23230@ZenIV.linux.org.uk> <67e21b65-0e2d-7ca5-7518-cec1b7abc46c@c-s.fr> <20200402175032.GH23230@ZenIV.linux.org.uk> From: Christophe Leroy Message-ID: <24095989-57be-332c-f08c-acb1672c7e6f@c-s.fr> Date: Thu, 2 Apr 2020 20:35:09 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200402175032.GH23230@ZenIV.linux.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Le 02/04/2020 =C3=A0 19:50, Al Viro a =C3=A9crit=C2=A0: > On Thu, Apr 02, 2020 at 07:03:28PM +0200, Christophe Leroy wrote: >=20 >> user_access_begin() grants both read and write. >> >> This patch adds user_read_access_begin() and user_write_access_begin()= but >> it doesn't remove user_access_begin() >=20 > Ouch... So the most generic name is for the rarest case? > =20 I can add another patch at the end of the series to rename=20 user_access_begin() to user_full_access_begin(). Would it suit you ? Christophe