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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E00BFC433EF for ; Fri, 6 May 2022 14:36:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442249AbiEFOkh (ORCPT ); Fri, 6 May 2022 10:40:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234559AbiEFOkd (ORCPT ); Fri, 6 May 2022 10:40:33 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4B0B6A417 for ; Fri, 6 May 2022 07:36:50 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id p6so7198386pjm.1 for ; Fri, 06 May 2022 07:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=fXoaTVMgA9NByG8F/KlwqAPg3XfIGQXe3O0mJFi20A8=; b=mOKykvLRyhUFPqn5hFts82geeunHcUrMUCx7i76A1EHYoZwABlx+5CpTU9fdKr7H2D wrUeeD60f9ha4kmK3Em0StgJd41czpufZGore7radx50UsIjLCDsXda6DpoeWriPr/Jz 9elrJG6XOqXJx9+RTrMSQXXMJi1e4mFb8RTaYO4Hv7veUPrM+AjpIyD+KlbdFqiA8OWz jXYM0s5RfxVfffJZh/CXmWhQdTg1hyUpkx2462FH0xzBMDH3EHlAUzzKYfkGW8Ymz0ux LPFKK0ztNRV7tw6QmMsipeAcKFnVGXW0HHW1HZK/YkP8QlbzVNhROc16TcLea3pMczFZ UJSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=fXoaTVMgA9NByG8F/KlwqAPg3XfIGQXe3O0mJFi20A8=; b=jEROZ6TQD482AzM08RRfU6I8RU3WrIrM3D/ValveKpG4n/Ud4f8laGUkKXJFJNUfSu YQhmf/pr7NOZEYJ8ZsZ5/c9XaZZ3BLPvqFaVKEajOPCOddDC92VgxN99AWgJRDsyks8P TsOv2zCfi5d+kedjeM0FCt8q9Wm+vxCZnVURzVax2aXbAhYaRv55Z+DCA04BhTMzmVHO 5ohkQTOYpvdtqWl8GBQDiElLI1mJTpze549mQXeQNE26C4woOHC75sdyonitjq6JYoZK Qt6zI2AcGcwmdzKqasUUjnGyz8CgcGIficwfCN5FmhxVvV8b6HzzMPbD6KBgz+DNnqno 2PiQ== X-Gm-Message-State: AOAM5322/AxbEJ4h8QCNBbYZ95i/h5sfLC7LqDb82zwMjIQPOd1Fibug XJTs/BJTxYFKZ4nYuevJ7yG3irVDYITVYA== X-Google-Smtp-Source: ABdhPJxPeHLbFsPoSAN4eEslmUKPFl2lv5GFn5EY7O60JXBJffK3iYIpufgjfdGDMknYiEM4PY2xpg== X-Received: by 2002:a17:90b:1c0e:b0:1dc:45b6:6392 with SMTP id oc14-20020a17090b1c0e00b001dc45b66392mr4447846pjb.236.1651847810175; Fri, 06 May 2022 07:36:50 -0700 (PDT) Received: from [192.168.4.166] (cpe-72-132-29-68.dc.res.rr.com. [72.132.29.68]) by smtp.gmail.com with ESMTPSA id r20-20020aa79634000000b0050dc7a3e88asm3532021pfg.9.2022.05.06.07.36.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 May 2022 07:36:49 -0700 (PDT) Message-ID: <7ea9cb04-3f80-d8a0-ab3c-40cf5049f614@kernel.dk> Date: Fri, 6 May 2022 08:36:48 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH 4/5] io_uring: add a helper for poll clean Content-Language: en-US To: Hao Xu , io-uring@vger.kernel.org Cc: Pavel Begunkov , linux-kernel@vger.kernel.org References: <20220506070102.26032-1-haoxu.linux@gmail.com> <20220506070102.26032-5-haoxu.linux@gmail.com> From: Jens Axboe In-Reply-To: <20220506070102.26032-5-haoxu.linux@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/6/22 1:01 AM, Hao Xu wrote: > From: Hao Xu > > Add a helper for poll clean, it will be used in the multishot accept in > the later patches. Should this just go into io_clean_op()? Didn't look at it thoroughly, but it'd remove some cases from the next patch if it could. -- Jens Axboe