Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp52017pxj; Wed, 23 Jun 2021 15:25:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwU3LdIZpxDlb3gBXTDCx6pjCf9K8TZRMQSPTfiV4SDuaoYuCQm+A7oX0//eau7roV1uvMf X-Received: by 2002:a17:907:9622:: with SMTP id gb34mr2024043ejc.401.1624487140406; Wed, 23 Jun 2021 15:25:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624487140; cv=none; d=google.com; s=arc-20160816; b=qS8Y9K3nooAM+9nhksgGLowLZcPuyweOc4WD9tTrS7928wxwivYJGerTvXE/L45eGB SJRS5yS79oYiBTySFefLovZNcL9vn1qMOfDUZu6t+JvF9IXKqAtZeVC3Bng9A5yu7Go/ MX2oQLyZexLRE89olkF3mgiPdRURsvmRHj+N0BPyzKtP/8HyJpb3cS6nWfb8YEI9M2K+ qDKt48NecNYKCjM/rXkSidiLKjREuyDfQpmP1SWyU4ahIQ7D5m1/37pn1iYjF4OQJORt LYTOaRfTFAaMVOC+VsBoa3eTZ0t73JnukIm7INDpAn1zVJuOPULgZE+DlOotjMH0qWz6 uGyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature; bh=rarFiEcktOV4PMyvDV95VcjSVtUjs4RdLS31HBip5uA=; b=zJNqPT+O0taaNAGnW5mCTV/Icr50CmJfytGCuVNuoCQrRVoM93OthlJkNenHGolwSc yDqDiTfEoDaKI+PF+0pHJKFFSUk1iyzhhEd4/Krz8HNDEgOH076Eev3zXm18H9FK8Smz wZtJj4aZWqYDoY1W1CnsKXtXCrdGQ7mEaWQJOf7JuzOt4JnzlcaPCVLMTVYUAjvukLIL gjKQ7xyjn8OFTRHExhMdLstspHS3Yz6PTHHnyQiYs5YqjaKhCMv80lkalUMkUOBOCedB mAEpnSHoAEh7Wop9iTQJpjs19JiGT7JYmx96H7dEebS26dRfSCWICk2ofQeDz9YYcNR/ swmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=lE18ucs7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bx16si881721ejc.548.2021.06.23.15.25.18; Wed, 23 Jun 2021 15:25:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=lE18ucs7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229916AbhFWW0d (ORCPT + 99 others); Wed, 23 Jun 2021 18:26:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229906AbhFWW0c (ORCPT ); Wed, 23 Jun 2021 18:26:32 -0400 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAE48C06175F for ; Wed, 23 Jun 2021 15:24:13 -0700 (PDT) Received: by mail-io1-xd29.google.com with SMTP id i189so5426432ioa.8 for ; Wed, 23 Jun 2021 15:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=rarFiEcktOV4PMyvDV95VcjSVtUjs4RdLS31HBip5uA=; b=lE18ucs7drfzcX+0pjDbjf8JgBhEqOnLDKsssvstFzfaLG4LXqUhNmb23n2OZm1CLW 5t4kdONyJzEb5dcke/lmdRBs5T3a3UFcCGh4xZMhNgx7kpgoWZVHfuuuqCSXCUlBZY9B X12yTjz32/pvuyfob3DXa6+5Na58NQXckEia2kAD0lyvMQGf0MWhira1HTjvFXXQLwXi 0aAED1oC2VMRSdseHbd28orq3+1n4VoQwdfrc4qMHIe2xHBM6Fc4OwPQUV5S7osjO3Rf q7oJVXKbb2mDbKR2YIGLt1m/r2KmgvwX6bNJf+IQRKJd4NtGFeiGkW8jFzKrdulyZWvk nVmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=rarFiEcktOV4PMyvDV95VcjSVtUjs4RdLS31HBip5uA=; b=tYCLjmvGWo80APyoMdQZ3W1xo3qMf+eFX8WRoxUDZq1g9b5mdvNrvWpNcx1SzD401O CNl6CocZuOoaLBoOSowrZNHcVVdctypAzdJ+qXTnxFmWA3KQMTwfzmtJ0GrrQ8yAHKuD 12DYSEhlTq+iTXeVKq/dZfQCuG0CfYxd5hndl62NniDKJPtwZdbs1HMAQzCng4wLWCyW Zfp6Aq0P8Dk1Tq3aNIqPdrc6pBwdG3EumsXvmdoZNK7amQXhitRf7a1eRporIDn5hgqP 3OYx6XYmnf8F8QHBgFWouCJ+O4zMKQ6cZDOpLQoG11rUozW9Fd1jrxVOvursY8faS/iy rsvA== X-Gm-Message-State: AOAM532Wwwlgnvfo6nppv2laJu5O0KRCM4TAOwpvmKlrSjmN47s5YyTS dbnRraGIbcjaMqc85KNb/93DDlajlkbxPg== X-Received: by 2002:a05:6638:379d:: with SMTP id w29mr1727299jal.2.1624487052609; Wed, 23 Jun 2021 15:24:12 -0700 (PDT) Received: from [192.168.1.134] ([198.8.77.61]) by smtp.gmail.com with ESMTPSA id b23sm168772ior.4.2021.06.23.15.24.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Jun 2021 15:24:12 -0700 (PDT) Subject: Re: [PATCH v2 0/2] Minor SQPOLL thread fix and improvement To: Olivier Langlois , Pavel Begunkov , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org References: From: Jens Axboe Message-ID: Date: Wed, 23 Jun 2021 16:24:10 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/23/21 12:50 PM, Olivier Langlois wrote: > I have been investigated a deadlock situation in my io_uring usage where > the SQPOLL thread was going to sleep and my user threads were waiting > inside io_uring_enter() for completions. > > https://github.com/axboe/liburing/issues/367 Applied, thanks. -- Jens Axboe