[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] x86: Prefer d->max_vcpus to dom0_max_vcpus()
- To: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jason Andryuk <jason.andryuk@xxxxxxx>
- Date: Wed, 16 Jul 2025 11:39:00 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- 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=jrIEvn3tag9p59Ci/xP2si2qWGx3qV8raXGQnnFKfqo=; b=tQ0tdPD64h+6cwdb2LKVSzka+cFR7QtHGOp31O0ULpAb74Jkv/2ReaQ8uW2Z92SsmZmS5y/lWotSsmE7m7VLuiciFcikv79vA4vJu/RZAZAbt5KykAkau4azorUkcj9yfoZ6BPAfRPOYXdB+wIUnMHtxD6RiJMq5W51C6WEjs4EPZ4UGczzLQAY3f3bMFmarXkz/8UGzhRHt9J+kLZdq8UYpsA+1f8vKH0wT8VbfsrnAjOK6QERk36CUtL/Hascm4hfYD/wsHSFFgAZyYVRvonHxXZlEeY/jwyk+HL2Z0tMac0w71dIqcduac91nRlJu7Jc1kCZLDe5rouWdo399UA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=R5Xl3C/7/SewFvriHIpHigF8hfuXyv/+ZiMY1pfhfiztVMJbaZzfRHs4nhacgm/VXEpS7ornVKzpeU4zU7uPka9K6O27dbaRYUeTWCegtZje9X1tChANGFGH8nR0meCUDq+8rBxI6HuWjiD84xtV0x3xOrg8vnr+tN2OqHK8NUOo0ayquPCUQVXPOPi6huJiV8+TRrHHTwcWAHj5wmP/H98xMIFCU6W8umAR7kUMScZLGyysK9FbbyvEQH4i+Ebz/zcrHGAt4Y95tkjxyQCDkLo1Lb+2oPbeQ1JSn1AGAH/W9q1eZvlGDWafGnLlu9VxE//OrIO7Y+xAdszFbrnQRQ==
- Cc: Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Wed, 16 Jul 2025 15:39:18 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 2025-07-16 10:18, Alejandro Vallejo wrote:
These days d->max_vcpus is populated on domain_create(), so use that instead and
avoid a function call.
Signed-off-by: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
|