Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp95074rwd; Mon, 12 Jun 2023 10:31:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4iJxwojWCCHGmF5XdxSVPYjPT9Bl4ZE8Rzq1LI2Y6B7uhAyn1afUSXxb2n5ptKXbM/l+37 X-Received: by 2002:a17:902:8502:b0:1ae:8892:7d27 with SMTP id bj2-20020a170902850200b001ae88927d27mr7287625plb.42.1686591107805; Mon, 12 Jun 2023 10:31:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686591107; cv=none; d=google.com; s=arc-20160816; b=l8mfh7yRk99EN/iucT+RfTstlmgWrtHwi1kGG6kpJg4Zi5lBFqEHRLXaPPrjMV3Q9L m4qkzswN5pvMF83xwTx9LEov3EMFreIoJXLyfqMmebgTHlf2a7LlRB0mw4aKNkU4jMhr uYWl1SMIh1wETB8gWBnU96KdKWTOrwQo5cST3PsvSMnw9Zpo+vOulCIUeOSuc/hiQFuN 8zGnu4JrTb624MNEqi67hCCHDF1HDtqwRGoSyUl/8mXXuMOOyjFe4MLPvR99Nb/EI8Tj gJyP7bWjc86gvHm5tRXEFYnGMvWidpCkUAGdfPDk8zqR2O+rIxvuLL6uO2EQA4Ly4mFJ tvJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=TFWZn0n6OGSV4kVBbYftRZo2ty8H3Bci18vHV3tC0Uw=; b=bMoBqWdjPqLTjZbdFO6OtNIOq6LaYOPX17Et9hrtZ2sJrIEVSRmO4JZ/dvtF1bjSNK oVc6QOvvZgRrPE46KPkRE2ZemXhZ7cjj7Uj1Jt6HvVq9Os3jXcnuGqnM+p0p8nJehISG wiE9h/fP14MoCzBJ/GcSRR/0ayZ9lw13kNiqiNbo0Wyu6hIITV+xtz75GK5cRpsLRa6O ZJxWE72XgkLOGmdJeepDcXycpZjTbdFJ+r4pxBx9OK2NxllsxATk7ZyNLGa2tYrw6N1Y Xu2bZ/bXrpL/bRGMxbZvXWTERCcttUuigN2eGkjZ8/CdQRbRGCE0MeGblQzeQUK1fkX3 vbtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20221208.gappssmtp.com header.s=20221208 header.b=G8JD84g8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a7-20020a170902ecc700b001b39e50bfdasi4035540plh.638.2023.06.12.10.31.33; Mon, 12 Jun 2023 10:31:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20221208.gappssmtp.com header.s=20221208 header.b=G8JD84g8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231896AbjFLRaV (ORCPT + 99 others); Mon, 12 Jun 2023 13:30:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236825AbjFLR33 (ORCPT ); Mon, 12 Jun 2023 13:29:29 -0400 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8E8610B for ; Mon, 12 Jun 2023 10:29:27 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-777a9ca9112so45574939f.1 for ; Mon, 12 Jun 2023 10:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20221208.gappssmtp.com; s=20221208; t=1686590967; x=1689182967; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TFWZn0n6OGSV4kVBbYftRZo2ty8H3Bci18vHV3tC0Uw=; b=G8JD84g8f9Aeee5HTb3j/7SgOJh5Qn/aixcR5+GacNDkyxtuggQHLsYFnC6bEXjPzX CFDBvYGcEzc1Ttl+IUa85nXJaOctQM+3Wy8xIs72fL9U/EZpbxXE0eJqLOsg7VKrMIC5 weokx/JiqIENqjn+LXa6+yAoNSa4c/vJ0Jsnyuao7rqrJ9O5YfZGoHB+GpSAFFK7rf5t e3cgg3kcuwmy9bn41z6Fh0yOgs9hNIUGeYIWRQdX3YWh0zxo6BeyQp86i/LzYL50hqt3 RK/B1dfYGtQYx6zG0W9kb866p34EKPfBVuRjPGLhqy6GqZBIlr+JvIP15dv+x4wcQyQ9 QDCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686590967; x=1689182967; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TFWZn0n6OGSV4kVBbYftRZo2ty8H3Bci18vHV3tC0Uw=; b=aOpR6+qHQ085iy/SwiSP6V/EIRZtbU+I7c5af2vOacc2FiRzZBNSJdUdLFgzvy1RyV surFD0KaeUcGmzOH1KA4Bq7EsAUNwfjRXm5e8Jd9jAeovyLD2Oh8C9syK5xhu5f4u1d7 PxFJVT7eycNa8xZfNrh/L3cQdpUx8htxYPKPERvRV3E/n1pNxntnlW3KLwPi3KtZB4nI Pz2jIHCJAqF1FhrluIA9pHenQsvmO7vLxxDoxidfFClIG5hE02Pvty4gi+YFpKdr7up9 SiZdb1EGEMi5mtQs1bYgoNgbQIGmgpozFqRudYQLkyPfHI64+LjPUdlITS0JAhLgbv8X AChw== X-Gm-Message-State: AC+VfDyi6/wvg7Us17ebt5WJbvUHV9SsVtDMxsSLWsIWCWBtt1BZBZVN e6f8ix8TeEaIwNZ2Gwb4aOzA3w== X-Received: by 2002:a92:440e:0:b0:33b:e24b:ca46 with SMTP id r14-20020a92440e000000b0033be24bca46mr5234504ila.3.1686590967286; Mon, 12 Jun 2023 10:29:27 -0700 (PDT) Received: from [192.168.1.94] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id t11-20020a92d14b000000b0033d2d6620b0sm3295648ilg.2.2023.06.12.10.29.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Jun 2023 10:29:26 -0700 (PDT) Message-ID: Date: Mon, 12 Jun 2023 11:29:25 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [6.5-rc5 regression] core dump hangs (was Re: [Bug report] fstests generic/051 (on xfs) hang on latest linux v6.5-rc5+) Content-Language: en-US To: Linus Torvalds Cc: "Darrick J. Wong" , Dave Chinner , Zorro Lang , linux-xfs@vger.kernel.org, "Eric W. Biederman" , Mike Christie , "Michael S. Tsirkin" , linux-kernel@vger.kernel.org References: <20230611124836.whfktwaumnefm5z5@zlang-mailbox> <20230612015145.GA11441@frogsfrogsfrogs> <20230612153629.GA11427@frogsfrogsfrogs> <13d9e4f2-17c5-0709-0cc0-6f92bfe9f30d@kernel.dk> <212a190c-f81e-2876-cf14-6d1e37d47192@kernel.dk> From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/12/23 10:57 AM, Linus Torvalds wrote: > On Mon, Jun 12, 2023 at 9:45 AM Jens Axboe wrote: >> >> You snipped the suspicion in my reply on why that exists, to avoid >> io_wq_worker_sleeping() triggering. > > I'm not seeing why triggering io_wq_worker_sleeping() should even be a > problem in the first place. > > I suspect that is entirely historical too, and has to do with how it > used to do that > > struct io_worker *worker = kthread_data(tsk); > struct io_wqe *wqe = worker->wqe; > > back in the bad old days of kthreads. > > But yeah, I don't know that code. Looks fine to me to just kill it indeed, whatever we did need this for is definitely no longer the case. I _think_ we used to have something in the worker exit that would potentially sleep which is why we killed it before doing that, now it just looks like dead code. -- Jens Axboe