Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp212266rdb; Tue, 16 Jan 2024 22:31:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdSx5jZIXD5K3BLvfce1Rtz+COnUI/5NTWGzl6TAvsa4R3/3k1ET/NLt+qLwA1VPWEttn4 X-Received: by 2002:a05:6a00:230c:b0:6d5:2b3a:52f3 with SMTP id h12-20020a056a00230c00b006d52b3a52f3mr5361314pfh.12.1705473083681; Tue, 16 Jan 2024 22:31:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705473083; cv=pass; d=google.com; s=arc-20160816; b=h+m6jcA6IJO8oh6PrB6S7aHGnwo8mfUb/3gBSiAqKsjgMuCOVmaI/WTMlMaPG9z0Kl 4txeggbb9OCmUrMXW5XH+bBtxC7tXuFv3FDpyibUBAHJwePcA8PnvCoh40PdJT5HvZtL SXShIi3ELloYulWFlB0bVkdUeUJPRMd/ow0zNhOhaW95rCgNkMhVD5BuTJdebIH5hbAE x/9eGJPMQJqbfAk58rAscgLHam/8phji7K0LcwwbH5kPHb3xL08sxj5ko1fR234hgoeR fcf41qYT1PKXUwlv2PL+tEfpYJgZ1cGHZjyOsFHiUlCLYi+MspdYPuo1AZmMH+iZ0dyn n8/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DxiOO8w88rWledmaRoeFUmYXRXhztfaSOi7NyQWmNYk=; fh=dXOj+3+vpS16qFE5WOdFb6TKn4/pNASq3n+mMzoZ/hs=; b=Ph1CFNprb6XIfqMBEZxpAze5r56aHTr6XOBvOnulJmvbDsuOXLDslR0a07nOzx4bwq GavLOPzLslA+gjUyXNTDE8EZEL6X2X7m+k81aXIKnyP9+UK5uG49en0WJWrVyn3kUHdP KpULzsZfnOgDwbCKvMV6wisDiF+pJyge2VB8AX8kW/9JZqu06+noje8tfUyEwlulufX3 8TTdxzZ7ST3H5kzGYLOiMUYQy+J8w2gTtp2uHLf4E7bewtP+7KkudLbqd+s9pdys984k Bijz7q9hqiSFxNMzHCrKM/r0tw++XRrlvoabuppa7CzCPLGoopCjIlWV9c0NLYdRwnhq RaIQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=W+zMi+1k; 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-28571-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z10-20020aa7888a000000b006db6ed782a2si1012015pfe.290.2024.01.16.22.31.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 22:31:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28571-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=W+zMi+1k; 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-28571-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28571-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1884F287FDE for ; Wed, 17 Jan 2024 06:31:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B13AE4685; Wed, 17 Jan 2024 06:31:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="W+zMi+1k" 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 F25018C1B for ; Wed, 17 Jan 2024 06:31:00 +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=1705473066; cv=none; b=NE4guQ5JI6+CvA4Nh+BoJePstdImT7OsbKo4xt9XR4b4Fux4YfTM7jNhjkeKFXxnSOsk4XFcwlCDp/sJb0FZPutTqDRzOyoZOzxavO9L0aj3wWheOgI4caXJfaqdZmgr84VQMAENsR6PPsSPI4qUG/ajaxMVyHH8Pfn52pP7ZHM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705473066; c=relaxed/simple; bh=xuqbdmvl9lCw8IH5mVuShkyHEa0QF98r9fLMLUrlE80=; h=DKIM-Signature:Received:X-MC-Unique:Received: X-Google-DKIM-Signature:X-Gm-Message-State:X-Received: X-Google-Smtp-Source:X-Received:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=Q223QSEEvviUcHykVZpuchS8lyJCSurcCNIDAvub/jpkJZ6/udO4v/MkVMpWEeiqGRwoHVRpJEqIlEPPnO5l3UvYudtwDjU60tB6dzZNYGEE+aMrN1QkFH4qcYAemg238PLsR7FqfkiV1giR47hHGuikJS2TKy3X/e9IkU5dqBI= 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=W+zMi+1k; 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=1705473059; 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: in-reply-to:in-reply-to:references:references; bh=DxiOO8w88rWledmaRoeFUmYXRXhztfaSOi7NyQWmNYk=; b=W+zMi+1k9OdaVbNYKZ4v7id9snyynYbITKn54GAXpmrrVSpPlOAVb5y3bc+4r3hYI2+qQo bTsis2PruCbM9OeW73jEfUuL8ou98hqXKuutzRQiUPlBU1LlpUf6HcuNbB0elhequ9pGPN Fj0/EbhVwTRHI1jN1ayEhjGRZzYGRR0= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-318-8p9HWv2wMQGpDSzlKEjH3Q-1; Wed, 17 Jan 2024 01:30:57 -0500 X-MC-Unique: 8p9HWv2wMQGpDSzlKEjH3Q-1 Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-68179ca2e57so18280796d6.1 for ; Tue, 16 Jan 2024 22:30:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705473056; x=1706077856; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=DxiOO8w88rWledmaRoeFUmYXRXhztfaSOi7NyQWmNYk=; b=T6VwEoOOBDmEt/iFVTSkV3hAOM+jDIhKkn6Nqd3FqN8ecNrQ7q93aJUUSaORs0t7R1 yZqgvAiFm/b/ebAZ2Bc8XQ2cnU2ivDeZjgkecagFLSwMNQCkSNZ1zN7z/98NAImoprzw OcfBQ6UNEaiSIVAulE046AmOFUxPlGoULLCOCZJABs79iTiKzdL0SjVqprdMqPn7qTlM gGH25F74hGcMOsH6XtZoC8MhiZbNWQbRUh1wh5O6b3Mcn74ZNqrulquS0E+soEwLi6ur Wjqzcc4jQw4k/0teKe+VBuYKY7+JrFEVSKut+SFw7Rnn1P9JJrWmcbPJjCnsphkt5O9E uh4g== X-Gm-Message-State: AOJu0Yw87eMCtBD3e9e4mo/eHq0RXkNoeiKWfxaaimqup4Jq3lNiZ6cn wAp1TY96nHush8y93nl/0t6g/3jKfxiCG54rlEAYL7KqwH7jXecE75j04RPbLpon+VQ5DO2NgMm NaMp2p6mR1dzySk0t+znL63Fh1AEXr2JB X-Received: by 2002:ad4:5d6a:0:b0:680:b48c:b54b with SMTP id fn10-20020ad45d6a000000b00680b48cb54bmr11146726qvb.102.1705473056760; Tue, 16 Jan 2024 22:30:56 -0800 (PST) X-Received: by 2002:ad4:5d6a:0:b0:680:b48c:b54b with SMTP id fn10-20020ad45d6a000000b00680b48cb54bmr11146717qvb.102.1705473056478; Tue, 16 Jan 2024 22:30:56 -0800 (PST) Received: from localhost.localdomain ([151.29.130.8]) by smtp.gmail.com with ESMTPSA id t12-20020a0cde0c000000b006816edd1979sm1115431qvk.140.2024.01.16.22.30.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 22:30:56 -0800 (PST) Date: Wed, 17 Jan 2024 07:30:52 +0100 From: Juri Lelli To: Tejun Heo Cc: Lai Jiangshan , Aaron Tomlin , Valentin Schneider , Waiman Long , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 2/4] kernel/workqueue: Bind rescuer to unbound cpumask for WQ_UNBOUND Message-ID: References: <20240116161929.232885-1-juri.lelli@redhat.com> <20240116161929.232885-3-juri.lelli@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hello, On 16/01/24 08:47, Tejun Heo wrote: > On Tue, Jan 16, 2024 at 05:19:27PM +0100, Juri Lelli wrote: > > At the time they are created unbound workqueues rescuers currently use > > cpu_possible_mask as their affinity, but this can be too wide in case a > > workqueue unbound mask has been set as a subset of cpu_possible_mask. > > > > Make new rescuers use their associated workqueue unbound cpumask from > > the start. > > > > Signed-off-by: Juri Lelli > > Apply 1-2 to wq/for-6.9. Thank you! Best, Juri