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=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_MUTT autolearn=ham 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 220C2C43381 for ; Mon, 11 Mar 2019 21:17:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EC33B2087C for ; Mon, 11 Mar 2019 21:17:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728357AbfCKVRl (ORCPT ); Mon, 11 Mar 2019 17:17:41 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:60146 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727118AbfCKVRk (ORCPT ); Mon, 11 Mar 2019 17:17:40 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92 #3 (Red Hat Linux)) id 1h3SId-00025u-UP; Mon, 11 Mar 2019 21:17:32 +0000 Date: Mon, 11 Mar 2019 21:17:31 +0000 From: Al Viro To: Christoph Hellwig Cc: Linus Torvalds , Eric Dumazet , David Miller , Jason Baron , kgraul@linux.ibm.com, ktkhai@virtuozzo.com, kyeongdon.kim@lge.com, Linux List Kernel Mailing , Netdev , pabeni@redhat.com, syzkaller-bugs@googlegroups.com, xiyou.wangcong@gmail.com, zhengbin , bcrl@kvack.org, linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, houtao1@huawei.com, yi.zhang@huawei.com Subject: Re: [PATCH 2/8] keep io_event in aio_kiocb Message-ID: <20190311211731.GO2217@ZenIV.linux.org.uk> References: <20190310070606.GA10138@ZenIV.linux.org.uk> <20190310070822.11564-1-viro@ZenIV.linux.org.uk> <20190310070822.11564-2-viro@ZenIV.linux.org.uk> <20190311194306.GC12602@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190311194306.GC12602@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 11, 2019 at 08:43:06PM +0100, Christoph Hellwig wrote: > On Sun, Mar 10, 2019 at 07:08:16AM +0000, Al Viro wrote: > > From: Al Viro > > > > Signed-off-by: Al Viro > > This could use a little changelog at least that explains the why. > > It also removes lookup_kiocb and folds that into the only caller, > which is at least worth mentioning (and probably should be a separate > patch). More confusingly, it contains a pointless rudiment in aio_poll_wake(); that chunk doesn't solve the problems with ->woken, and the whole thing gets killed off shortly...