[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] x86: Use 32-bit counter for TLB clock on debug builds
- To: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Tue, 13 Jan 2026 14:18:22 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BP7E1rSjoVW0LODQUbv7IOGNs39mTUraxKy+L+4uw1E=; b=RfvLMNgQ7GXKl/yB40LBuUQm2Nr9eXJ6bQoOoQ2X546IeCN5UUdFa1hjVgn17+wKAB/vCKEVfUH668VKm5hPS2PNrihDqV4Dvsj2Q+qip3WU5kFgMtEwubfGrURjjmpogynxnNp0D95R1e0gwsWr2qpbDZ0TqQ207ucuxY7JFwSW9gZPsXxF+rccvhpiLR+06Tw3UBRZsLxcVaSoLW42giwVqEo70/GGw25kW4cDntT7KeGgDl5yhVvNGO14bJmpl3sSBNjobjpKL+cO0k/G25bFjSBJbcsE42VgAv7FFyz8yRefBY7ooKdGnUgvA469KA+lQTWyiKtomFwkxyZZfQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=V4aaWnrL5YI4wo++tUSFnXE6OLj1lK8jUkQEMcTOhMZ6rBEjf7IGQ+symKeu1uoHMecmTyb0gtdrla/kgTNH3KEiJODW0FlhKq0XU0aruRkFSe75jd/0oj9WdPD2iexBszyB/p6tuDeOyy7vzAo4KRnFwiheB1AcX2kPD2gtzyEKBYU0zmz5xnZACyc0bhCxoOu4cXpEuB+a6wqttvXD2gvmgLPpB1Tde/Xf1yr5WMMh8I8husDFc1AI1m0ZpseDnJXxjSLH7DooiihsWcHEAuD0l1bq30L517JkDsdwR4UA0CXql8zV81APtbsID3khVYk9dezoEYALOl8O9n+u9g==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxx>
- Delivery-date: Tue, 13 Jan 2026 14:18:34 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 13/01/2026 2:17 pm, Roger Pau Monné wrote:
> On Tue, Jan 13, 2026 at 01:09:58PM +0100, Alejandro Vallejo wrote:
>> Debug builds traditionally ship with a 10-bit counter for the TLB
>> clock. This forces global TLB shootdowns with high frequency, making
>> debug builds unsuitable for any form of real time testing.
>>
>> Remove this quirk, unifying release and debug under a wide counter.
> I wonder if it makes any sense to provide this as a Kconfig tunable,
> set to 32bit width for both debug and release builds?
That was v1, and both Jan and myself said "prefer not".
~Andrew
|