From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 B5EBB1E505 for ; Wed, 3 Jun 2026 12:21:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780489292; cv=none; b=KShctopUhwTYq0geot3eR7X1XBqhT+XzIadyhFApUShPzBt8x+9qDPAaHK2VmO/xhFaiH+M4iJ1+Ekk2MD/b87DQKwq2OplpVJeBslNWg5i/qVcmAU+jjpNYPytSGIPl3U5JhN8FRqC6/c67uSwkGoQvdbjLmJyhZE8Zo25G26U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780489292; c=relaxed/simple; bh=Wzqxjz+Yey/OLFDQq/RRQpnQqVGnlKU5sUdc4hYcNJk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uBj0R/FoVznGNQfn9dfg3RCyunp0C/Z47dKAJfM+6IoBBk0SrqyFSLoDUUNiGrlh7Jicy3g7+M8Cb+wQBA1dVjLoBuPB+dL2ER9SIrJ6mefy9I9EAVq9KO1a0m4kKKRnb+UxrEsl1uXyy9EhyZ/d+LXy8FgtAwAt4tA/rkOLoDQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=nIxYZzo1; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=IAktb7ED; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="nIxYZzo1"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="IAktb7ED" Date: Wed, 3 Jun 2026 14:21:28 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780489289; 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=bCnI38xFIy9uyRL3DU6wPf7Lu+b/UVafRvrth3NAuEQ=; b=nIxYZzo1+kCDcUyHVN6mRHvOrtPqurcZhQyFDt38bzY4J6AUN2o6SGcTHkFCcNFU8etbkE 4CvaTS3Px3razdpEtEhSQ6trY91PkTyO1hLnRO0C+0bRM76MQ5mOkqkxBszua1cIsCPqYa UxTomox8bVIPJO88DfOnISVrVP7Zmjaw6yhKYtpbqVZ8vR5MS7Jdm6I2VEpHW+H5Olcwo2 9ZL/13wNEViUnXKSnxZeZteH5uYikG1I8YzhmXCjIaOlcZHFsjNCP/1zsKrMO+QzcW97KL jXPDlDVB0ZuuIJgdApNSLGKfZMwXtYZGtu8AIThZqXOexo/cy84A4/vM0SVL5g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780489289; 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=bCnI38xFIy9uyRL3DU6wPf7Lu+b/UVafRvrth3NAuEQ=; b=IAktb7EDLwex17f90x9pzqOpfrSxt/7VJmMbWjKB/YYziDeDHo9R8rCcgSZl9v2r4Akzn1 As4Uowhk9IQAecBw== From: Sebastian Andrzej Siewior To: Chuyi Zhou Cc: tglx@kernel.org, mingo@redhat.com, luto@kernel.org, peterz@infradead.org, paulmck@kernel.org, muchun.song@linux.dev, bp@alien8.de, dave.hansen@linux.intel.com, pbonzini@redhat.com, clrkwllms@kernel.org, rostedt@goodmis.org, nadav.amit@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 04/12] smp: Use task-local IPI cpumask in smp_call_function_many_cond() Message-ID: <20260603122128.suObbyBe@linutronix.de> References: <20260528151338.617843-1-zhouchuyi@bytedance.com> <20260528151338.617843-5-zhouchuyi@bytedance.com> <20260603105448.2bwLH_XI@linutronix.de> <84866b3c-4605-46b8-ae74-639e53252e97@bytedance.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=utf-8 Content-Disposition: inline In-Reply-To: <84866b3c-4605-46b8-ae74-639e53252e97@bytedance.com> On 2026-06-03 19:48:50 [+0800], Chuyi Zhou wrote: > Thanks for pointing this out. > > The NULL fallback in smp_call_function_many_cond() is intentional for > cases where no task-local mask is available, such as !PREEMPT kernels or > static/early tasks. In those cases it falls back to the per-CPU mask and > keeps the existing preemption-disabled behavior. Yes, I am aware of this. I just wanted to point a case where a task has no mask associated. Sebastian