Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp320788ybl; Wed, 22 Jan 2020 22:28:22 -0800 (PST) X-Google-Smtp-Source: APXvYqyF8A7yRVRCejeuz8ze7byPcR3L5edmt1W/I4TkBIVK2wRFBplfjWr2lNTOJ+MHgothq+Ra X-Received: by 2002:a05:6830:16c4:: with SMTP id l4mr4033974otr.3.1579760902540; Wed, 22 Jan 2020 22:28:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579760902; cv=none; d=google.com; s=arc-20160816; b=aVWJ/+1D0hqrG0nBklwQVQJ33uIfWqy7YqUkjGZK6nYX0Kp50zZNF3nQ/umFM3oS7o D0mX9KMXv9SadKN13XUpmkTUoXW9OKaQ5xjGS/ZHCVQBE8gnKIhzuJuIP4lvkaRh77PX ZMk5GD08hc9+eQ+KpKdlzVRm1yy7jBVHxcpHAQE/Sh29t9Tp4im1f4vG6nMUr5xbGv+u QCxUHMR+r0Oq3QuMJQ76UzdeR0RYSEKhYTwdM6nq0/CAxtAbR18m+ynvquPhdQI6Muus jElla2f89tRUmYjClu4o9d6rHvOmjIp18EvEkXPFO2bTVg5FQ2SubLAPD8/OCHQRS3gl GnvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=+JkacBp8xGLVJ+/XN1IrJUelPycgDc81GD+/7UFttpw=; b=w5KYTwfgwtuIic32T/E4JTy+Pps4SryMB2qQ8tEZs/pB2ijxms3gkc9MZwzDEhZuZV +ZhjHvn9S5F4yvRF2KbenuSQa/bcebDI2q/ChLCwUn7N7ciNkM4+Ijbp/HIkso8bv7x9 RmBHc5y1sOn6w1ES7ZUX8PsCVvWu8+STTphkM2J4VF5jKGgHHlBXsnie6Rr/9fWYxxAD 1YtGLg4WL+5D/q47/5JFND/jvZ2hEUbaPr0d+68YD/CBHduP/cDhv/PmtFob2TNcfc3t RMM8vkOsb5lSlslO9/Q+TQu/FhtGFmnhecoCki+jHlnMRn5X25aY+wfZoGawcIUWAerp p63g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=qDUreYcv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y22si667641oti.269.2020.01.22.22.28.08; Wed, 22 Jan 2020 22:28:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=qDUreYcv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726029AbgAWG1H (ORCPT + 99 others); Thu, 23 Jan 2020 01:27:07 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:2491 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725818AbgAWG1H (ORCPT ); Thu, 23 Jan 2020 01:27:07 -0500 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: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 22/01/2020 à 21:37, Linus Torvalds a écrit : > [ Talking to myself ] > > 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. > > > So here's a slightly updated patch that does exactly that, and avoids > the objtool warning. > > It actually generates better code than the last one too, because now > we don't duplicate the user_access_end() for the EINTR case. > > So test this one instead, please. This patch works on my ppc board, thanks Christophe