Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2747338rdb; Mon, 5 Feb 2024 17:08:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IH0CfhwMqXRe0iUQBbJWM9ipL1RZ0Zz0MzJSrmRBrPjCkkjQZ/yh+1zBgr1fB86Eml+yba3 X-Received: by 2002:a5d:4704:0:b0:33b:3b88:e357 with SMTP id y4-20020a5d4704000000b0033b3b88e357mr110048wrq.35.1707181680290; Mon, 05 Feb 2024 17:08:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707181680; cv=pass; d=google.com; s=arc-20160816; b=uUIHl5pprTpvws2DS/xJEzONEVg5PC7G62evXptahQPJRbETymhkiTlYt+fSS/B0bg XL+YbU0j50Ym19DGySyuOTwohr3BIIi/pSaOGStaMpq2L+pofhmdDRa7a3GeIb2FKgqu EoGdqZWDIiQQh7fml/unHxsBbETjl650xDT2uIs1d4HJV3mEjvCiULxciqv1fbKRxr1z J4GBhhLLZz1D7PCVMEbg7zShkmKfaew5MDDMFhaByUk++p/0YPYJAaPiT+EpR6PgFyVP iAxreBzE2eZWpX/AQDUCcxywwZcjB/LGtTMtjCnsdObKb/SIgNYOafxmYZAd0qIztAK/ Jo5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Qx0YFEsgX9UDCD0E+Npx4uOUY3x3FOt3qs6zB+rlWnE=; fh=L2Y7Q3Py//7DMLwsd7e2tqv03jyFNHNDk6udJIOz1bI=; b=q9bOoNhKOgY+LLkCs5brFcYKC15/sqKiNwNVW2SfcApGD/6VD/Xlke6Flw3vKfO2SV OJgbUuWnx8owpz0Xc/dckCKPOpSZ4oPhAUAxiG/Q5Eejv8YVudlQwAyxXfhPVBcnf6/c WQcpEBgVFRBqXongJnNRoqNZS1vz3n4f//5eGn1RKIkns7ldj34vdlhPa1UDyvZ1fX+u snivXqNfnmaJiQ1w0uImZg+kQN0lwW2znUzcO2kqp1wNbzESVxU3TXD9L65vGp09TR9f Ny12Gi3PB4Tm+DMzDOpY+3KjUW67YiHDntlP3D7LE3LlhEDQO4LCEgW727uUZCNGf9N5 oOkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QeAa6s+R; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-54138-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54138-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=1; AJvYcCWQvqgsPsXzlrvRZTsPqE7e4WMV0Rx49sGSJzz7b+g8LMLEB0nNCD05Jymj5zdvFJ2G0w3cC8OHxdYZOKX39JuCNUFP3M2Itr71Gl+OEg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w23-20020a17090633d700b00a35eb724c09si440876eja.949.2024.02.05.17.08.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 17:08:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54138-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QeAa6s+R; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-54138-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54138-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 042DC1F25968 for ; Tue, 6 Feb 2024 01:08:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 057EE4A34; Tue, 6 Feb 2024 01:07:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QeAa6s+R" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C8634A06 for ; Tue, 6 Feb 2024 01:07:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707181672; cv=none; b=iShUNS70bVSRpQzM3y7i7g/mGIfutAuDz/qdUcxcFfn1FejEEutkAqR6b05A7Ddtqyiwja3t5/K8DAmAUK5x4+bjLQJovFXOg0hE8MIkjai/x01LCnLd3GKTmUOBenjtJ7KmqabSBFFWqji/Un2GGajE56VTA75FkM/KWN9mgM8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707181672; c=relaxed/simple; bh=DP4FmgXcccO+rK4IKEraucp1wQntMzDreh9T6ETZ8oU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=EBlPz23Qt4PmVbTaxQ/CdBQFnWmWGxi6Q9wljDDRrxlLAzK+ARvegPK9KADiizhYrOwQSip/VaprYJlrDJbe2mA0DLkQFXfdaX1vH2B9TjFuX1S+UyIBkeK+bYrWyT3bk6wwhdCtoeuwEPBvmrtXEh6reU0LeyDGVMplWk2idl4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=QeAa6s+R; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707181669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Qx0YFEsgX9UDCD0E+Npx4uOUY3x3FOt3qs6zB+rlWnE=; b=QeAa6s+R9TbrX50hVSrrPBfE9Mcfstrrl6CRMRbzRlKdDsaxi4Gtlu5/6+8DYPKNSHq+YA L/nBsfJQYndg0zyiTN0RUnb6dnvEyBcrZMGFxSMSpyegoms8cpNPOnVTiug8/8jlEEmIMd VCatpFLvQ+5MjbAYXumJK4JfBAwB810= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-114-Hp_jRAt_OQqpQogeRMuzng-1; Mon, 05 Feb 2024 20:07:45 -0500 X-MC-Unique: Hp_jRAt_OQqpQogeRMuzng-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 491113C11C62; Tue, 6 Feb 2024 01:07:45 +0000 (UTC) Received: from [10.22.17.212] (unknown [10.22.17.212]) by smtp.corp.redhat.com (Postfix) with ESMTP id D17DBC0FDEF; Tue, 6 Feb 2024 01:07:44 +0000 (UTC) Message-ID: <166aca9d-d4f2-4057-9fc4-e551114e97b8@redhat.com> Date: Mon, 5 Feb 2024 20:07:44 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH-wq v3 0/4] workqueue: Enable unbound cpumask update on ordered workqueues Content-Language: en-US To: Tejun Heo Cc: Lai Jiangshan , linux-kernel@vger.kernel.org, Juri Lelli , Cestmir Kalina , Alex Gladkov , Phil Auld , Costa Shulyupin References: <20240205194602.871505-1-longman@redhat.com> From: Waiman Long In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 On 2/5/24 19:04, Tejun Heo wrote: > On Mon, Feb 05, 2024 at 09:53:09AM -1000, Tejun Heo wrote: >> On Mon, Feb 05, 2024 at 02:45:58PM -0500, Waiman Long wrote: >>> v3: >>> - [v2] https://lore.kernel.org/lkml/20240203154334.791910-1-longman@redhat.com/ >>> - Drop patch 1 as it has been merged into the for-6.9 branch. >>> - Use rcu_access_pointer() to access wq->dfl_pwq. >>> - Use RCU protection instead of acquiring wq->mutex in >>> apply_wqattrs_cleanup(). >> Looks like we raced each other. I'll wait for v4. > BTW, please don't bother to handle __WQ_ORDERED being cleared. We are very > close to removing the implicit ORDERED promotion, so we should be able to > apply the patch to remove the distinction between explicitly and implicitly > ordered workqueues. OK, I saw your new commit 3bc1e711c26b ("workqueue: Don't implicitly make UNBOUND workqueues w/ @max_active==1 ordered") in the for-6.9 branch. Will rebase my patch series on top of that and make the necessary modification. Thanks, Longman