Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2723275rwo; Thu, 3 Aug 2023 14:01:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlEuw/ba+T2kLwt7Fq/VRZA9Ye1hHRhmWepn/5oqbR77hZXThE3mvJIJSqJtAUI6INL/GMQ7 X-Received: by 2002:a17:90a:f2cc:b0:262:fc8a:ecf with SMTP id gt12-20020a17090af2cc00b00262fc8a0ecfmr17622239pjb.27.1691096501767; Thu, 03 Aug 2023 14:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691096501; cv=none; d=google.com; s=arc-20160816; b=TMKK1OvYxrp5+Aai4GkyHynB6D2WTcjEfY6VFDxuWdmCEh7o1wuo9zxgkYkxFszZvr j2NZY/2md6J++uYfxjPNkDmm81FNUC516FgeRlSMzqgEapIXKG4n42UnkV840c+B2iqC ap3uM5FPCP6TJPJtMdBchN8waCUQhOmsjQuTGzT2TG/lMABuSD53l1c6awEdu5MI20y6 YxhS+IVVHrzu6045kFSJkGdfbW/7G536YrPCMB/v8JIuj5vstVfYNsGcbGZgNJPBAWx1 7XtmrW6slxbeyudj7GguKCUdCziRFnTbQz/riJyTRL2pQcVswvih7MpSFwEbnUbgaV80 mSUw== 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=v9Z985rtoYhPdQJbXBxNUQd2827P0MtNvJFied4edIo=; fh=a/8srlCr7ZuOL9dLHhjXr33NcJQCC9LdC4rl4ej/yQI=; b=GbV6nHOxMk9Q7g1W/jiL3SeTMPkDbRjF+YrEKMg1nMkowjcZWbldPjZvFlOJIiMNpP gXEz4r/rZRHGtJ2W3UmqaDJJBqkMTFyERR7Sk9o9HujLSHKo5p/Csd489rQhNq18luJE Ysm/DKSNi436i0mbul/F8UK15drkB07FjwWgfjCQkb4HUUEIxb8+rp3950quwBH/PObT 537rR+p9/g1ND2k1dCWy95GrYA80rN/D9PLeuI01YULkjVs8J9AEfP8H34pK27PzOWGW 4M47jNgUO5Ohk5PhFnR6YrZPzM9LWzHrM0GtAC9Iar19ymVUzR3YwnyL2qpLS9jlPk78 PKJQ== 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 g9-20020a17090a290900b00263baf744dfsi3920185pjd.139.2023.08.03.14.01.28; Thu, 03 Aug 2023 14:01:41 -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 S229799AbjHCUTT (ORCPT + 99 others); Thu, 3 Aug 2023 16:19:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjHCUTS (ORCPT ); Thu, 3 Aug 2023 16:19:18 -0400 Received: from p3plsmtpa09-02.prod.phx3.secureserver.net (p3plsmtpa09-02.prod.phx3.secureserver.net [173.201.193.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 953B53C31 for ; Thu, 3 Aug 2023 13:19:16 -0700 (PDT) Received: from localhost ([82.27.99.45]) by :SMTPAUTH: with ESMTPA id RemwqV4JViMnJRemxqtkdH; Thu, 03 Aug 2023 13:19:16 -0700 X-CMAE-Analysis: v=2.4 cv=I62jBvsg c=1 sm=1 tr=0 ts=64cc0bc4 a=YwMIiW7BGddQzL8MrqPWMg==:117 a=YwMIiW7BGddQzL8MrqPWMg==:17 a=ENF2c8OQyt5_Ph5qRQ4A: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: Thu, 3 Aug 2023 21:19:14 +0100 Message-Id: <20230803201914.1802437-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: MS4xfO/evbuumYY5KOSMgpzYfQ9L3GiEoM5+QS6fd9qOFWeU8XlN11HChkpFukyiHakzyML2YCCfLRl8SF+TsWHgTVrzDszPvAkwIR2nyyABljlnyx2OGTbD 8BOyiRSu8Wyl5ec/8Mm9riMehyFYwJX7LtMkIcpjQdUfI1l612NIWyDSNzepVdZ0yIQfCWLvpq2xV6qUK1ebKQJN+kw7XWAfTYjfRjlc9S+DAgKEvzsRQTeN 4m62+vAPZeYv8aQZqL7zjFxGNXHgSkkU7z27RwoaTyPsozsFFtrandKseftwUr+VH7K+mW6OqxAWfBPqZh1ifg== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,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 > But why do you need to identify rescue workers? What are you trying to > achieve? Hi Tejun, I had a conversation with a colleague of mine. It can be useful to identify and account for all kernel threads. From the perspective of user-mode, the name given currently to the rescuer kworker is ambiguous. For instance, "kworker/u16:9-kcryptd/253:0" is clearly identifiable as an unbound kworker for the specified workqueue which can have their CPU affinity adjusted as you mentioned before. I think if we followed the same naming convention for a rescuer kworker then it would be more consistent. I'll send a patch so it can be discussed further. Kind regards, -- Aaron Tomlin