From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (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 746FF3346B7 for ; Thu, 5 Feb 2026 06:03:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770271434; cv=none; b=HiGGJ7MMGG9aqJHxS9tyWB6foQ0ZcGwhxzliP2dQL9e4Dz5OjK/1NrKsspJp10vR/E91Qeuz8NFMaI2SOMrrL+4oZIVNX9OdQvwR+JzdTSjZYBaNsBp85Pht7Jj1itzTfoWP+cbDgYKe3O8Vwx3NQeEhzcAfaOSk6W6TBPDtgc4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770271434; c=relaxed/simple; bh=SAQDde9MOC2w7471X6Ucco56DspKv/yqII387k9qKRg=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=ZB9n1ModQu8AIOgC0eGx6yy1bhANzyWTLu5bIUuIffxjS2GqOBPFfDBHbFPWyhMnVfrOC7f09AMLLLuwcGWTJXZ+/YLqIV9L3cxOi3YEDAfoschsUBlKu7WMDl/vK8Z7k52sVag0pVu5c1HzTpGcVVrx+N2W5jF6gsfIdRfFRFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=r/BxQVgX; arc=none smtp.client-ip=95.215.58.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="r/BxQVgX" Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1770271432; 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=DBP3YF+Xe0BAau1jiTEqMQLKTrxa+8XQRIQN+gyvTLk=; b=r/BxQVgXRc83fCPxoTAZwD5omwVwRuSG+vC43OwQqt1M1FMmJBOCSAWBPNvXtkfeS5cRkG BKQ0s8b8pam6jXr+coPOmzWAs+trV76BAZ0Pz3hoCpXAtCHudq7PDHSW1SPJZKXWtMQbuL mjh/+Ue475bZ6uVHywKHSvIzgFqAAR0= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.300.41.1.7\)) Subject: Re: [PATCH 03/11] smp: Remove get_cpu from smp_call_function_any X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20260203112401.3889029-4-zhouchuyi@bytedance.com> Date: Thu, 5 Feb 2026 14:03:00 +0800 Cc: tglx@linutronix.de, mingo@redhat.com, luto@kernel.org, peterz@infradead.org, paulmck@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20260203112401.3889029-1-zhouchuyi@bytedance.com> <20260203112401.3889029-4-zhouchuyi@bytedance.com> To: Chuyi Zhou X-Migadu-Flow: FLOW_OUT > On Feb 3, 2026, at 19:23, Chuyi Zhou wrote: > > Now smp_call_function_single() would enable preemption before > csd_lock_wait() to reduce the critical section. To allow callers of > smp_call_function_any() to also benefit from this optimization, remove > get_cpu()/put_cpu() from smp_call_function_any(). > > Signed-off-by: Chuyi Zhou Reviewed-by: Muchun Song Thanks.