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 E29B3C433FE for ; Thu, 12 May 2022 12:19:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353598AbiELMT0 (ORCPT ); Thu, 12 May 2022 08:19:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353593AbiELMTZ (ORCPT ); Thu, 12 May 2022 08:19:25 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 653DE246D84 for ; Thu, 12 May 2022 05:19:24 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id q4so4674311plr.11 for ; Thu, 12 May 2022 05:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=from:to:cc:in-reply-to:references:subject:message-id:date :mime-version:content-transfer-encoding; bh=jdzJsCOFB6EBjtys/TTJGlzRSTRAL3RbhKDD+8/aElU=; b=dBO+2l0B34+9JC9caXtj2twnrRhQYtbyKWxrLCLYmDutDIQD9JsW2Qc2Nsqputvojd 7RSoYW8PH3vmvam4UFHWDAauWDWTSe8/1MxHZQvQzJmgx+RcWv9QtrBXfV8rHCj0cuOM dRnZkZt7kAJ2o+RnEVJWuPgatJZM5ep1ekNVRB4446kIyfQ6ll1wSLWRjygtXh/46omi Uq8k+lmYUsKTYERfKIgxer5mMN2oabUY+LcUxMtJTUsinstUx3oYiK2/dvfa3J8wSA9T qVAjCHiUYikAIarqOKxnKugNttrwVyyKpK5rI/PlVPf7tyRG6UD+85J385sSfZaFz60G Sq2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject :message-id:date:mime-version:content-transfer-encoding; bh=jdzJsCOFB6EBjtys/TTJGlzRSTRAL3RbhKDD+8/aElU=; b=F9X+YtzKPctFFy9NMI9d/O9fQ1Z5wrhhcuE0yRD6N2Ktb8GoeMJZK5fSHbDVSJKBDL AMJnoPtAFuOvPFe6TFMgFUxCEP7NXCOAJMXSL3AceykpqA8gZE9/rMpvZTCFCGoZga8N AW0EscqU27DMItfnny7s8NCFJZXFFSZ2o7lL3Kj+DbmVSH/HE8ugZzZXXBTDANANhKUZ IfCZV3mgGxHKF7IeNKHNL+PykEyxndTcqt2Shw1r0CCaz9PnfpsjnEZIzycp3leB11lC YTlwCfLQLIAuHCwvfvRlPEtfnnK1MbyxUTkzyYj7MYzAknYu7OIsmdMDSv+YtRgdJpN1 QTkg== X-Gm-Message-State: AOAM530ykF/X+yjrVQFnIV0aG26fNNeL+4kxC9nAzPzHMQI+ORAB7XEV YB3Mod4ZVGMwjj2crwIBA96+Pw== X-Google-Smtp-Source: ABdhPJwEPHy7EDA3HFghoA2XGfvlJJhjZf//S+gJcDUfWHN7Icv0gdGWV395ArCmj6i0gEOILEdaKg== X-Received: by 2002:a17:90b:1e4b:b0:1dc:7b66:55d6 with SMTP id pi11-20020a17090b1e4b00b001dc7b6655d6mr10886525pjb.80.1652357963849; Thu, 12 May 2022 05:19:23 -0700 (PDT) Received: from [127.0.1.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id 12-20020a170902e9cc00b0015e8d4eb29esm3786474plk.232.2022.05.12.05.19.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 05:19:23 -0700 (PDT) From: Jens Axboe To: asml.silence@gmail.com, dylany@fb.com Cc: kernel-team@fb.com, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220512091834.728610-1-dylany@fb.com> References: <20220512091834.728610-1-dylany@fb.com> Subject: Re: [PATCH 0/2] Fix poll bug Message-Id: <165235796235.222381.4626747643796477057.b4-ty@kernel.dk> Date: Thu, 12 May 2022 06:19:22 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 12 May 2022 02:18:32 -0700, Dylan Yudaken wrote: > This fixes a bug in poll wakeups, where it would wake up > unnecessarily. This is most obvious with sockets, where the socket will > wake both readers and writers when new read data is available, even if the > socket is still not writable. > > Patch 1 is a simple bug I noticed while debugging the poll problem > Patch 2 is the poll fix > > [...] Applied, thanks! [1/2] io_uring: fix ordering of args in io_uring_queue_async_work commit: 2d2d5cb6ca8424fa849ebb4edb8e8022c13860c7 [2/2] io_uring: only wake when the correct events are set commit: beed4eed5fc1fe18f2b78b214450e28d786c1e49 Best regards, -- Jens Axboe