From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (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 4626233469C for ; Thu, 5 Feb 2026 06:06:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770271580; cv=none; b=Qi0ejm6ZwhP0CQdnQWPKOEJJWrz8xZIS/W61tsRlMhpvvmUwFKTS8Ri/PJekw3JEU1yf1dEbURLwKwC1WQk5gtBT4IG60QtHxFLsYmTmPNvVVKyg6rFooY7t7WXZBtDFTGBJdsZM69+wzz5VtXE4PkfiH9TVA+gKq54PlYCeoZk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770271580; c=relaxed/simple; bh=OU0jsi5Lo+txwdySo5WgwOwfCT4gRje6h1kH+InlLP0=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=L89focHBFPzlyHtsirWKGJ+wnX7F/R4BFA0FZh2pqAGg4AJBW84OUh2Cdrs+sBATbBP3zAB2Z8Ak2AVmMicLk11hX6a5oi7V9mmbg74OtrRPUqn88Snt6jgrs/S4TjnBu6JrHQDdXJVTucv4yR7B79t1Bnz3ItG4/NTlrZgmpDo= 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=EVbHGgV3; arc=none smtp.client-ip=91.218.175.184 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="EVbHGgV3" Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1770271578; 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=v5FWPAzcUZMYyv5YCxKhO3C8CnS4i13nVXg/Q+essho=; b=EVbHGgV3szHK/ONoXEqBLSdl3KGXXHKRhc96d0rwPkHO9bcWLSchw/PQjjo2iyAQDX74iS ztpKZkwxPip85w0e9N2HJVgb/5EVK7U3yzNeP7LxkIndjJkO7otSfpuaR9ZvEXfKmugei2 cA2OQXFQlm+FI254A6Ko204umPy//no= 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 01/11] smp: Disable preemption explicitly in __csd_lock_wait X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20260203112401.3889029-2-zhouchuyi@bytedance.com> Date: Thu, 5 Feb 2026 14:05:36 +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: <20B0E424-AF2A-4043-96A1-D0919E986A90@linux.dev> References: <20260203112401.3889029-1-zhouchuyi@bytedance.com> <20260203112401.3889029-2-zhouchuyi@bytedance.com> To: Chuyi Zhou X-Migadu-Flow: FLOW_OUT > On Feb 3, 2026, at 19:23, Chuyi Zhou wrote: > > The latter patches will enable preemption before csd_lock_wait(), which > could break csdlock_debug. Because the slice of other tasks on the CPU may > be accounted between ktime_get_mono_fast_ns() calls. Disable preemption > explicitly in __csd_lock_wait(). This is a preparation for the next > patches. > > Signed-off-by: Chuyi Zhou Acked-by: Muchun Song Thanks.