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.0 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 CCB40C33CB6 for ; Thu, 23 Jan 2020 06:27:09 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 73B1C24673 for ; Thu, 23 Jan 2020 06:27:09 +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="qDUreYcv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 73B1C24673 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 F30A06B0003; Thu, 23 Jan 2020 01:27:08 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id EE1336B0005; Thu, 23 Jan 2020 01:27:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DCF8D6B0006; Thu, 23 Jan 2020 01:27:08 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0165.hostedemail.com [216.40.44.165]) by kanga.kvack.org (Postfix) with ESMTP id C43486B0003 for ; Thu, 23 Jan 2020 01:27:08 -0500 (EST) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 6CB2A8248047 for ; Thu, 23 Jan 2020 06:27:08 +0000 (UTC) X-FDA: 76407916536.01.camp07_7874d46b7e905 X-HE-Tag: camp07_7874d46b7e905 X-Filterd-Recvd-Size: 3801 Received: from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30]) by imf26.hostedemail.com (Postfix) with ESMTP for ; Thu, 23 Jan 2020 06:27:07 +0000 (UTC) Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 483C3s270Bz9v0vB; Thu, 23 Jan 2020 07:27:05 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=qDUreYcv; 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 88agPtHElRwH; Thu, 23 Jan 2020 07:27:05 +0100 (CET) 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 483C3s0xK1z9v0v9; Thu, 23 Jan 2020 07:27:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1579760825; bh=+JkacBp8xGLVJ+/XN1IrJUelPycgDc81GD+/7UFttpw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=qDUreYcveQN7gkbU+RuAbIMMqLqZ82rgNMtClWvQ8ePujCDqYxvkFik+8fnkC18sG gZNT3xq7kQCiAg6BdKA+RiMh2IRDP/xc2PC6WjWartHwRR2V8S3tnKhPj2O6M2BBzD yBYVxAK+65cOfxEa9jp2d+CKb17Lm1Il6wiJffuQ= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id ED7F08B81A; Thu, 23 Jan 2020 07:27:05 +0100 (CET) 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 u2yqNAN-A3Tc; Thu, 23 Jan 2020 07:27:05 +0100 (CET) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 601238B75B; Thu, 23 Jan 2020 07:27:04 +0100 (CET) Subject: Re: [PATCH v2 1/6] fs/readdir: Fix filldir() and filldir64() use of user_access_begin() To: Linus Torvalds Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Alexander Viro , Andrew Morton , Linux Kernel Mailing List , linuxppc-dev , linux-fsdevel , Linux-MM References: <12a4be679e43de1eca6e5e2173163f27e2f25236.1579715466.git.christophe.leroy@c-s.fr> From: Christophe Leroy Message-ID: <75590182-8291-9030-c0bf-b11c6b4fccec@c-s.fr> Date: Thu, 23 Jan 2020 07:27:04 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: 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 22/01/2020 =C3=A0 21:37, Linus Torvalds a =C3=A9crit=C2=A0: > [ Talking to myself ] >=20 > On Wed, Jan 22, 2020 at 12:00 PM Linus Torvalds > wrote: >> >> COMPLETELY UNTESTED! It compiles for me. The generated assembly looks >> ok from a quick look. >=20 >=20 > So here's a slightly updated patch that does exactly that, and avoids > the objtool warning. >=20 > It actually generates better code than the last one too, because now > we don't duplicate the user_access_end() for the EINTR case. >=20 > So test this one instead, please. This patch works on my ppc board, thanks Christophe