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

Re: [PATCH v4 4/8] x86/HPET: reduce hpet_next_event() call sites


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Thu, 22 Jan 2026 10:00:46 +0100
  • 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=N3vaAuAOpN+ljOXQh5R2SPVbD4JdpTaE3Ki3qgQEFaY=; b=SULWPunwnBF4VWExJlB+dLaryGxBmtqd7qRme/t5VV0dNmeK1nmSGObUN/EDj726NWe06DxVhWffzRZXYbSg24vyfwAW9FP/K1mFQW81vytNObxGozN8a8bcO+gmVkN8SQMu9jzobjQAldNsO9BnAOMaw5Pb1iieTriGz1rEg7ULS40RxiW+d37tAcCjcNVaiNj/ap3UtdiXE0cGYf7qFM3wSmPRLTf1tSFxMk9DXZYTGPxKO/q/UdDEZV0Awbg/NYd14aySfEe8WDNfr8ENGitHsF7QyQiUL2b076OasnHwGho2rxPBIjnmIQtgoqDmB4R1y7J9dB+vDj7n/LU9qw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=r+zzs3O8eitSAFql7SaePECkpQtXbp/X1VCsAueDWTHwhnsKtW78uY+4TiGlXyd1kFuWXHNPZJvohLG2opi0RDyQ0vbbaiY2C14XIUGwR3jrF39hgQgzJ/eFmF6Z5keL8da1MP0FUOldwNht68Hkl2ecOLtbuCgvxc++gtomkt6hw/soLxulaokGu3wJ9l+7q0BH9EX8Hih/akrHsV8/2f4ZNMwcH21z3qgNEhq7Bh2CWhu8c4zYOwczgaJjkzXwngLNGJT99TZguS9tKLre2Q9eZRJ06Z6M2FgCv7mGDK8pWIFOCJZ38cfA59/k0EkxYUsiegsHJtOm5EqsmYTJdQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Thu, 22 Jan 2026 09:01:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Nov 17, 2025 at 03:38:43PM +0100, Jan Beulich wrote:
> I'm surprised gcc doesn't manage to do that: At least in debug builds two
> call sites exist, just like source code has it. That's not necessary
> though - by using do/while we can reduce this to a single call site. Then
> the function will be inlined.
> 
> While improving code gen, also switch the function's 2nd parameter to
> unsigned.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks, Roger.



 


Rackspace

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