Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp1542269rwb; Sat, 5 Aug 2023 18:55:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJTs7BfK+D3ynsNGY/Y9A/Awv6hM+0Za+rC9FxJ5Xss/2GpErGes412Fm0r7vIFBLB1wBo X-Received: by 2002:a17:903:32d1:b0:1bb:9675:8c06 with SMTP id i17-20020a17090332d100b001bb96758c06mr5280903plr.35.1691286944288; Sat, 05 Aug 2023 18:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691286944; cv=none; d=google.com; s=arc-20160816; b=eOFuVPYlBGzFktUPMbRtp+KryJ6gZvOzTa0UzGZHEQlCnmwlkSUG7S7g6r9KCuIQ3x UnvUgbSROWGy+LEHzul3qUXc1mcm3Wyz4El1hKDXXluqRehphR4uPYvSnLnpEb6o9816 VTkzkZR4bunPYEGMoIav0KGO3xDuWUWrCPNz/6jZgR6piXTrolI99My638VgtzjV9WT6 cC9Iq+OFgUw4TCEx4HWfUE2Ui3Auchbd2jfYz7AUtQi3Zs5q3nOQ98bhuJqCoUHckdjm OfldwFYqZN2B6o4691grobwhsE1ekZ0/8sBpiQ0zHFmWzvFXPEs2Ehbm7w3VDqsnDAmM RTGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=JEYUc1IFcMO/n0co7XerCE4klDXQZRvbFkQWVzsCsoo=; fh=a/8srlCr7ZuOL9dLHhjXr33NcJQCC9LdC4rl4ej/yQI=; b=ZdSB1CS2u7ipM2GT0oE7/W2xEQMt2HVQKAmOc2NYgzmlIm2aDzyfrI5xN/uEO1evpz TID/dnL/ln/IZLsZevz6rTmo6Fs2nJnwb0ertCs2XeB13mNQASEzMpaMvCxH3x2aVz1+ 9E0JTKz0UkUVe9h55eakDbwVub1GKV8ihgY0G892JnoXek5W+rqTERT4jD7vHbYeP4nP 1+sIACQgNjUTO/dhlFrNejKqcDMO+ofdbrkQNe4ukWuSYx/hCGjgrRb0PMvMF2fFR86C dFjlmPfc1V2iCUVxcs7P3kqXk4aSquctFxKiBc8a4cvCAXmCvDSdf1atdZvZENHFglxT GD4w== ARC-Authentication-Results: i=1; mx.google.com; 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 p18-20020a170902c71200b001b7fa1a9a36si1471313plp.67.2023.08.05.18.55.20; Sat, 05 Aug 2023 18:55:44 -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; 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 S229542AbjHEXsO (ORCPT + 99 others); Sat, 5 Aug 2023 19:48:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjHEXsL (ORCPT ); Sat, 5 Aug 2023 19:48:11 -0400 X-Greylist: delayed 135 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 05 Aug 2023 16:48:10 PDT Received: from p3plsmtpa12-09.prod.phx3.secureserver.net (p3plsmtpa12-09.prod.phx3.secureserver.net [68.178.252.238]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B280138 for ; Sat, 5 Aug 2023 16:48:10 -0700 (PDT) Received: from localhost ([82.27.99.45]) by :SMTPAUTH: with ESMTPA id SQy1qnynsZmOZSQy2qqIFq; Sat, 05 Aug 2023 16:45:54 -0700 X-CMAE-Analysis: v=2.4 cv=IqXYMpzg c=1 sm=1 tr=0 ts=64cedf32 a=YwMIiW7BGddQzL8MrqPWMg==:117 a=YwMIiW7BGddQzL8MrqPWMg==:17 a=HnRLSJNhp8-NwZYesygA:9 a=zgiPjhLxNE0A:10 X-SECURESERVER-ACCT: atomlin@atomlin.com From: Aaron Tomlin To: tj@kernel.org Cc: atomlin@atomlin.com, jiangshanlai@gmail.com, linux-kernel@vger.kernel.org, peterz@infradead.org Subject: Re: [RFC PATCH 0/2] workqueue: Introduce PF_WQ_RESCUE_WORKER Date: Sun, 6 Aug 2023 00:45:52 +0100 Message-Id: <20230805234552.2556114-1-atomlin@atomlin.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfAkRaHrhRP8xW5Bcul32+ZgpRA7YcgchZIFNzzk8yLiUiMSSE7Hn+i5miErHP7MB49ykr76NXVtkgOICVTFexHQCIJ8UK2uOH8gMLUnxkJFYeIA5dW5c Ynoak9S8PpRpXjvZHJ08TiRQQ0UbyK7AyFDy6mcKQ5Y2mcy2eFUlWiHvAOpnkh5hu/swVrsIfYiBXejoVe4o9ztxwSuKh7z85zmOJtaGX157WSrx8uN+IQ1d vTds+4SE+6zOS5LZh6Ebmun72geDJToMx2c0X2+1wkzUD7pmxr6dOyM8kxmNI7O7HykC5cu4pSiOaWT2KGcn3w== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 > Note that the name changes to the work item the worker is currently > executing. It won't stay that way. Workers are shared across the > workqueues, so I'm not sure "identify and account all kernel threads" is > working as well as you think it is. Hi Tejun, Indeed. The point is that these kworker kthreads are easily identifiable. > We can certainly rename them to indicate that they are rescuers - e.g. > maybe krescuer? But, at the moment, the proposed reason seems rather > dubious. Personally, I would prefer "kworker/r-%s" and then include the specified workqueue's name e.g. "kworker/r-ext4-rsv-conver". So the rescuer task's name is more consistent with the current naming scheme. I will send a follow up patch. Kind regards, -- Aaron Tomlin