[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] x86: Prefer d->max_vcpus to dom0_max_vcpus()


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
  • Date: Thu, 17 Jul 2025 11:12:55 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com 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=WjV+37JhNXykQ/OtCb4lv4yeAUrj/WCYHSTZSRHbjPI=; b=hQzxOLHwWiZtbSgXnvQe8cmAlw/ybfbf5pEi8zVyDAqQ8/9Iv+uyBoh4QIVzEtSyPXZocA9n+KQEZAApdg6lvxdH3TIau7i4Xytkq34Vu3b+velWE6QJE71pFmYC6+2qQqD6ScysHbJ10Splyu2wH5czPnygD1cxhNB+aiYHuuywtty10gidzYAZqqAb4EH2S9GlrUkJFZcWyo6J4f8I88LVsYq6EwOfON6qXN5BjWeG+Lxz3b34Lu9F68m0WEXcbTIfYDM2gcnZKQLcGr/7K4nLeZb9JqO69tXbUXttqQvzRSYvuikjcK9ciJYRBNzRt/oRQk5JdrgCl0qujh57sw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=BTwSee3gxFoMdO8eu7Kh5l5QLC+iRppsyV8eoPZj8RRcur79uJRTiTmqJgK+wxbP61vNZj3u8KpH934Zj7MTwBDgID0ofNOSC4gwu/nGQvr/NU8h8A8+uX/3hg1QYPFLwHxqzovMC7EiJMO8THPQzGkjp27TISBy9rRfiA64d4NFapwosIuvLKhkqTP1Wg/R4exHM9uLt1c9K/qkMCGlnUsoT693pIlkekSwzOAJ9w2zgbNWRM/faAOybS2QulQO573s5PLswysLP7TBejt3MLgk5/pyfvubxxAJtk+IuGpAwpmju8c+3qgM3DbLW7WZhjX9ybPjSo/FpTnSQ5WWwg==
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 17 Jul 2025 09:13:19 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu Jul 17, 2025 at 8:49 AM CEST, Jan Beulich wrote:
> On 16.07.2025 16:18, Alejandro Vallejo wrote:
>> These days d->max_vcpus is populated on domain_create(), so use that instead 
>> and
>> avoid a function call.
>
> One further nit though: Please limit commit message line length to 75 chars,
> such that certain git output (indenting by 4 chars) still stays below 80.
>
> Jan

Sure, I'm happy to do that. We might want to add it to the CODING_STYLE if there
is consensus though. I'm not a big fan of unwritten rules.

Cheers,
Alejandro



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.