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=-10.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 77464C433DB for ; Sun, 28 Feb 2021 22:18:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4559E64DD2 for ; Sun, 28 Feb 2021 22:18:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231515AbhB1WSV (ORCPT ); Sun, 28 Feb 2021 17:18:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231334AbhB1WSU (ORCPT ); Sun, 28 Feb 2021 17:18:20 -0500 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1DCAC06174A for ; Sun, 28 Feb 2021 14:17:40 -0800 (PST) Received: by mail-pf1-x42b.google.com with SMTP id j12so10179249pfj.12 for ; Sun, 28 Feb 2021 14:17:40 -0800 (PST) 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=c+THXwXHz5BnQOVXMOtZYhw55QtfTQIKYhxn4AVc1v4=; b=qPW/jcnaedRWUcQAbIdjlzoqkxeWdB2XVwMAIwO3N0iea91PYjn6fMtjILUuV2TkSm 9f87CCFBCXgjCQxY2WwoOgW3WI81VbnuRxwA/OJdEXWNLjEj904vRoBwyUO+lOU5YUP4 mLGMNL1nTIsEwdrnnzBcX9AVZyQ1njRQ0J4n4m/VXpqI1WIjO9J5eOy/nkAD1Rx9GnBg xzFff3VybdUJIazbugS1bpX9lcpHuA/tMJZBPsa1b7IqJkPdsL5khtJ6xNwUZ8D9O7Rt RjYZyfV0i4wS7Km72rrDYvn3q1adNqyyG3biyaPZGWI1pAZ9jUSITKOEVPzbSmMfIlUl sThw== 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=c+THXwXHz5BnQOVXMOtZYhw55QtfTQIKYhxn4AVc1v4=; b=i3F/ncYjGCHaaGSHq9LabfiF0XlktiU4VP0n/QxTfnDKQYWSv+QaauaBcE2lWaXLH4 bxwQi97u2AgvY0H5uTb+3LkpFIuSOHM3MYcJqijyG3EB2AXy83JplZLFn+VVeuVcQRe+ AgIKCXAmEwr1Nmj8WJEtMdoXSb0l0g3g0cJaSRWC5iCytJ6ZHqut0Z/I3wMnCG9HHTsU Jlu+1zYKBIzTevYktqyKmEIBw/rYdrM11LUbsCfFMXmtQmredLC9N18Z4hRAXrPnXNNP AlIhMJO1U1O40vOekY3uExHiHwduRbzRZoHVdJmk6296KsKrjmAumSTT5KBbwRYXbfSC 6EtA== X-Gm-Message-State: AOAM533ivir6aLuwgii/rmWHiVGPGjRFGX+obZQbRZGR+sF/kRg5tXrw CYgp9+DOXy+nb1ivF71py7VSwmvhrTn1Xg== X-Google-Smtp-Source: ABdhPJzMknPmOnzWZ2iFa2LAdAy4b+G1uuUXVnajgp6DXrT3ShdAF9gvCGxF6CLA7Og7mCP3/2raHQ== X-Received: by 2002:a65:64d3:: with SMTP id t19mr11307688pgv.208.1614550659729; Sun, 28 Feb 2021 14:17:39 -0800 (PST) Received: from [192.168.1.134] ([66.219.217.173]) by smtp.gmail.com with ESMTPSA id d7sm5099429pfh.73.2021.02.28.14.17.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 28 Feb 2021 14:17:38 -0800 (PST) Subject: Re: [PATCH 5.12 0/2] task_work ctx refs fix + xchg cleanup To: Pavel Begunkov , io-uring@vger.kernel.org References: From: Jens Axboe Message-ID: Date: Sun, 28 Feb 2021 15:17:37 -0700 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: io-uring@vger.kernel.org On 2/28/21 3:04 PM, Pavel Begunkov wrote: > Two easy patches on top of io_uring-worker.v4, 1/2 is supposed to be a > fix, 2/2 is a cleanup was mentioned before. > > Pavel Begunkov (2): > io_uring: fix __tctx_task_work() ctx race > io_uring: replace cmpxchg in fallback with xchg > > fs/io_uring.c | 23 +++++++++++++---------- > 1 file changed, 13 insertions(+), 10 deletions(-) Applied, with wording fixed up in 2/2. -- Jens Axboe