Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp632719rdb; Tue, 16 Jan 2024 10:48:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGeeNRkITPm83ERfnMq076AdbGZ12n9W6Y0J08nUGyX04iR0+W5VjZdH0PMK47cdThRok2F X-Received: by 2002:aa7:c59a:0:b0:558:cd71:eed9 with SMTP id g26-20020aa7c59a000000b00558cd71eed9mr2615332edq.90.1705430892161; Tue, 16 Jan 2024 10:48:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705430892; cv=pass; d=google.com; s=arc-20160816; b=JNXeJ/dBvbIyc1HkoYF7RwN55+wHS4A2n0HbMmhcViBa5vVrtNW3MwxuVp5d1HdCif FvZPmczrmDSMlqpgLg/oytSekZ+CodIC/nVFGlVWpmE+Kfvcc3sFez0GPvhjFb6Cp8Ct OGfcISuLpQ/LONBRvlRnctMm2R0DYBZxzFgDws21xkTcmgs5Igwo45z+fbBgi4yRYgK9 k/pLsCsEEoNaFbE4IHv9R1j5guy7A1oxvN08JTFioaYXTnGizmvGuyxVA0dMTgGWj2/h 4rns66I4xKwmNb1/muKvmm7jc+WVai5D1EHq7zTHgWUL+jlUm3/Flkll6+Oj+AdxDB9X qrYw== 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:sender:dkim-signature; bh=4bnp1+XVPjbA4Wce0cI801zWaZZnYO1jaDgk1dU1pqk=; fh=7q2Pms2rUdoF9t+ncWv6VqychpXXKiXJyn4xbMKRSuA=; b=q+lUeui2xRv+NBxit2CnTRjs7PvIOIkGF0LIJlS6vMLcDjCA8Gpb8XxWWsUfiVUjye MP6jrsg2YDWQ5NlDKUdrl7pWhnzg+GEI7is4mOgefuO+S10oix4lUVHAxNg+raRWEmt4 UAj6nRIE3zmGBLU57t2JbOVZ82Byo/L/B2xoiMTxZ5oNWzhZ9qqhWQZotsjGs6cpVMfp diYB2M5wzDEJW4VV//X/HTPsQu61DNCF8XEbND7Mr8uqhCGrTk3PbU3xC47cPRkHVU1K Qf43C6p4VaM4PPirDTffqO3CT+Ld2WSvFA4Rk7bQ1T0tg91qicwy/N/coCf9oS2SoHrp QBOw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eNZCm4Yh; arc=pass (i=1 dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-27712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27712-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dy21-20020a05640231f500b00558e5b83b6esi3650715edb.577.2024.01.16.10.48.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 10:48:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27712-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=@gmail.com header.s=20230601 header.b=eNZCm4Yh; arc=pass (i=1 dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-27712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27712-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 E4E341F24404 for ; Tue, 16 Jan 2024 18:48:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 685881CFA8; Tue, 16 Jan 2024 18:48:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eNZCm4Yh" Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C5011CF83 for ; Tue, 16 Jan 2024 18:48:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705430881; cv=none; b=ZI/u9qTxsMFNb78sAixoLlTLEDiT+447VKkXgVPQXW75qsTFxKQ2gDFMXdqA5qms+EpdHW7qgxpXMyS5gjaq7fQbAIbVoACp3njBpinxhyFNUKINS+WgVyntjESERYql5sJhglA8QQ90vJT2i4vCiHBeKQVW+xDhCMJDLOctgFs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705430881; c=relaxed/simple; bh=skAATRqyy1r1tXpqX1AJT+E1P2ZgxCO8L4HYRBY2LUo=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:Received:Sender: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LQ0jZfak7jukxqG5shaLSHqFCN0kU8j+YJGY1oKoVVsm2uV/VWtYEGKaIOkdFiURRCfECS6b7b5j2oaSDrepnfOeD8N1IyydzKX1sQYV9ba8pf7QLjda1uBrdFv9XGs63bvYcDE5cFTM/9+oj50CCNgzjQ6kKDzdAGczYyx9ERQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eNZCm4Yh; arc=none smtp.client-ip=209.85.214.172 Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1d41bb4da91so56661635ad.0 for ; Tue, 16 Jan 2024 10:48:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705430880; x=1706035680; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=4bnp1+XVPjbA4Wce0cI801zWaZZnYO1jaDgk1dU1pqk=; b=eNZCm4YhgyXMRKRepZ6tvLTVW+NguAehAdmdIRA1T/kKwMwE9mKBbroRCNJrYmhkx0 +aAixiwIf9X/jBwtluSC7OhFsbP1nKRrB4Bl8oZ7MryYflj440E5A4ZHcZnX2QTuVbsp YHANF/ydi7Zg1XSpXkrlyM+mWeLVMp8J2MdrBzyZ+np2owd1kwIdN603dauPWw5Wd1le GVv40qLYq0ZuDWAsXWa6yU+egsl3kEEP0o2XhT0/4fMStm//pTh6d87D98hovW1X/EJl uJpUFYAkQlWVxuHhr5wKKT+CDMs2Bzgf/4J1Ys5+mD8v/0UfK2aHUQ7vkm2FcvEiyyrC +tMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705430880; x=1706035680; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4bnp1+XVPjbA4Wce0cI801zWaZZnYO1jaDgk1dU1pqk=; b=qypr5/+U06HaOQbdxzChI3FoJA8WFlR2XV6Cl8BedocBEKR9+c9jrMFfpuZt+IQufB Jnh2hnN0XlcqWw/cxQ7LPTejmo4wE4fSRAih/2ZLfq0V3jm+PHKL3as5wuPwHvZYT/yb 1+vSLfRKiTB4UodS2C7yisnBMl2rkHUhUg6BINytGpS1WbQbNHh3N4W/Ofmvycl+SIlz Sh/BcyVoPR0ztn5L9eh3q6uxJLssLArSDENFmb0k9G4DV1XzjR1zxDbISCf/9g85Z0AC ZHo1C7Zoitgm8P8547froyEFtDCOr6VacXLpc7L+nE6RGfvdZvj+ujT9PTNXkEuom6rE Cw0w== X-Gm-Message-State: AOJu0YwBjOhNMvROjX33BBsivNIz6iZ0+TIx8hIrOUS/T8IayRe+ahjs PiNh0ItIOeCip3i9bUCeXo4= X-Received: by 2002:a17:903:234f:b0:1d5:d00:c19d with SMTP id c15-20020a170903234f00b001d50d00c19dmr4876995plh.105.1705430879645; Tue, 16 Jan 2024 10:47:59 -0800 (PST) Received: from localhost (dhcp-72-235-13-140.hawaiiantel.net. [72.235.13.140]) by smtp.gmail.com with ESMTPSA id jz3-20020a170903430300b001d4b0ae7052sm9639897plb.135.2024.01.16.10.47.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 10:47:59 -0800 (PST) Sender: Tejun Heo Date: Tue, 16 Jan 2024 08:47:58 -1000 From: Tejun Heo To: Juri Lelli 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: <20240116161929.232885-3-juri.lelli@redhat.com> 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. Thanks. -- tejun