Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2753413rdb; Mon, 5 Feb 2024 17:24:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8ema2SfXbxGam/KHAZM3Tfx+BxSE89emb7AyjON3cWxHErYTQvXCFaBskB+w4YAjs8HxF X-Received: by 2002:a05:620a:5645:b0:783:f7a8:21e4 with SMTP id vw5-20020a05620a564500b00783f7a821e4mr1124456qkn.40.1707182659574; Mon, 05 Feb 2024 17:24:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707182659; cv=pass; d=google.com; s=arc-20160816; b=cmC36xw2Dpn4FpGb7vwzCkabDCojJ7kjw3HeUYLTsUpzyC851rmXrJ4hZirB1NKxtv eKJ3vs3Hb/4xP9J1vA+7Krw+kW3QbBG63G5kphfZYt1zH08tutOjyRAlhsz01uyeeDNl gSSRFmRQAx+zvpSwCGGTKYJFOXIvq0MUTOpq4X3lsc8v3DSxd5m1YXqB7KqDehzcJQkL 1JBt25qS+wu9sVybV8pE5awz3luZa67OyI9jcTy4p1yJH2A7ia4zXQLD0eS2yFQSzoWe LWtBCEc7wfozzD6kWla5SRVnIULZtA4z8fF6gCrx53R4vEh1ml/GNBXxGhdLMLbfRSMr ySLQ== 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=OobGLijtb3dnc1pP7/J4GgG3dmB8XmvivQA2oHRpQrc=; fh=ds3PTQ1R79k0DDnIS4o0k2AMXjUV5ar3Fo9xbYN9QbU=; b=Timmw/O0L/Lx5gW56C+4YFAjGMZUBtgFOMMMedaEyz7GxmgliHuUJs4Le1IpuMw25c C1QzX3OIqqYVT/ahQVi4IUMx1IU0cLPyfMdT4iWp3AgF6O6Q9B3Yt2D1QS1RQ0cI9SDD FjuKMKqzlOt6gXNTfCNno0dikJk5vLqSVXxCCbZge2g+3pH0MNcbXVLsWiTIhbuJMH2J peCi6TCiohVObcj/HH+FRHl7DDWE4URCzB9uQpiuKyo6PN66tnFU741COvjQ3mGA0dK7 Neep2jzgxwFZW/BwmkBVTt6eRkhUXjDWsCxi51wHfqQu9nVQwoPy6Vrr3C1oIhKVFTe2 N5Bw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hlftpUEt; 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-54149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54149-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; AJvYcCV2ziEa6exqN5HeROVeHB2qV90qw9TsZ0KgETJLDOe6ZIPtL7TbD/UKsJ0vsNFdNSBtRaNMrmcZeSdANYBCZPLphiBE2kxErc0cdH7Y0w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f4-20020a05620a20c400b007858e39cb76si356114qka.589.2024.02.05.17.24.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 17:24:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hlftpUEt; 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-54149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54149-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 52F841C23BC6 for ; Tue, 6 Feb 2024 01:24:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B00C81367; Tue, 6 Feb 2024 01:24:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="hlftpUEt" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 175BF1113 for ; Tue, 6 Feb 2024 01:24:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707182653; cv=none; b=aiBBJqZrJ1nDA3OCpjrmItmyB2WR1b9GWHkkPFXWU2L8RO8eYiNeXIRDn2KL+nAfZzyzVy3kk30RZ8/FAlWHg0hHtDVNwKJ5II9u05nlYPas9ev3pPMpXvufF9j0fAXjl9UUPMe71u7vjOit0qEID7qKN6eHm/ZPwto4J8LMhxY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707182653; c=relaxed/simple; bh=VXzOZc4vStdTE6t2Oi4yAIKYdKGrqAEWrs21RG9yHiM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=efDPa4g4EaEmOW2VUbipWG9X3tVnDj+Ll0pr1BAwWIuzywYL3jnmRAGicMaLzmiFIjialshSwK9ILhejRKik2pFySG5vM5BOxkkDlWBCIeRtTluod2rG12Jjjpn1k54jU3nQKwJ6uFl0JV6uOhExQUtZ/vVSijxcaqfLWWAbHs4= 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=hlftpUEt; arc=none smtp.client-ip=170.10.129.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=1707182650; 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=OobGLijtb3dnc1pP7/J4GgG3dmB8XmvivQA2oHRpQrc=; b=hlftpUEtEQ420T8ugvC1stuF3X5EJwMns0nIXAM+3hXT12eH5qANPa+awIPU5nNnCm7Uuo GQoZ+HRwKhxGdkS/RmDhLINpSnulcQckfK6gjSiLwcODRDVZlRIyo15lf4KEtfAGU0KVNx mgs29V6HdtfHTVb636upDmGzd9pvOiM= 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-529-VjKfTTdyNK-gY-nlkk_w_A-1; Mon, 05 Feb 2024 20:24:07 -0500 X-MC-Unique: VjKfTTdyNK-gY-nlkk_w_A-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (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 33FB83C29A63; Tue, 6 Feb 2024 01:24:07 +0000 (UTC) Received: from [10.22.17.212] (unknown [10.22.17.212]) by smtp.corp.redhat.com (Postfix) with ESMTP id C40382026D66; Tue, 6 Feb 2024 01:24:06 +0000 (UTC) Message-ID: <35ec9009-52eb-40aa-bf7a-db7a451d3652@redhat.com> Date: Mon, 5 Feb 2024 20:24:06 -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.4 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. BTW, the workqueue.c file in your latest for-6.9 branch still has a reference to __WQ_ORDERED_EXPLICIT in workqueue_apply_unbound_cpumask(). Will that break compilation? Regards, Longman