[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/5] cpufreq: eliminate cpufreq_drv_data[]
- To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jason Andryuk <jason.andryuk@xxxxxxx>
- Date: Fri, 23 Jan 2026 17:48:38 -0500
- 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=h8G9XEEUnGfL50viJ1aN/Y+zx4YjlpJ49njkZ496xes=; b=Engh9nCKaeavcxO+/TdGenmQBZiz8iL5CtZgzUJwHGO92oLv5t61jpv+AeVYrbmngm7H7G9LA5XprvTu33f2X1MckPhlaLkiOP1zCYL5JJKKnmUfIHJo3lzj7bwh+8jTaXkj50NOFsChSydlJ1OdeB3kSaSYCCsjQPuh2BL5tTgvzqAb8iNcRgRRSvTXhW+Mx6MliIsHOFEw5qMzzztyR5CWUKZ/IQinrYMohi3rPddkIjBlmIOX4bsDwmwBHc8NYacGN4jkI0nrPpkdkwA8Gb8m6Pgj+vXd65iiuL9VeNwtH/mTzZLIy0im4JPv6hhCskTlWVspKkHYdXBz6h9OWQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xLZnwzI5/vS3iVjxpSS+CztygGl7aohWFoffmnxpUjetvL68TquAPiz+p+sDabZwSUcZrpaFstp8/9HCZiL3QD0DjVtYXPvXb7i7bFkih30nCnehFaVG00eoI2dw559VrG5qWyJyzEXL/hxPplkVemxC5WoTjOXCk1RuqGLciNGL8Vi3FW1YIllA7/YGdpv8f8itCT9LuSMF1hphq4B2cUdEhC3FA4q5pDpNnEMBepDf3JyURoIyG+6Il2TK9Tw+Oa0x0+I10AhEk15uwxDffxO6VZ8703mXGmX5QeN+7IXYrWStpVPWbyPZ/UO3LtKvBmtRywJnBH1Lbe1Ss5tJZw==
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Fri, 23 Jan 2026 22:48:57 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 2026-01-22 04:42, Jan Beulich wrote:
Possibly many slots of it may be unused (all of them when the HWP or CPPC
drivers are in use), as it's always strictly associated with the CPU
recorded in a policy (irrespective of that CPU intermediately being taken
offline). It is shared by all CPUs sharing a policy. We could therefore
put the respective pointers in struct cpufreq_policy, but even that level
of indirection is pointless. Embed the driver data structure directly in
the policy one.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
|