[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-4.21 01/10] x86/HPET: limit channel changes
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Date: Fri, 17 Oct 2025 11:23:54 +0200
- 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=Xq1hiIcf0bmDeEBTm3L8Q54ZgZCRwMLBfukSlYg8JaI=; b=E6ZgfGqWsr62fjB5rusphRjP+D+LHYkeD4I49WbfLx2e8/RMY1/o2qO1a5Z+8w4iZ9ixeUMfVmuctWWD+kpqBfTjYzyp1wimp+ZuR3W0N1yEP/v6gMg47kzhOhVPrrs5FdXIG+en85exBcGSCxUOX1cRnOzvAqO+pfGYyhf7FsF9tHpltEB7xJc/QflQdaN+PBxd2R5yfVGmgyJyBn+Sk90M9IOPnAxKwDtc/QZGt2jOexmLvUxAjN1BkTGvA4KSzFQc5Pl4fuJajTxIEyiYIc8PPp1OD8Z8XYOdMxguSGlp+EVNz+eVuJIz7vpH4KweyfU4wWK2nSQcDk46k7T+Xw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fjdjNPjxG1zwGiW8vjF3CL5Wo3WUD+9GW3nYHR/w8s9c998ufsg6iRTLcSTMWm81g4esh30AUdd8Lq7jFvSYwArofZdBGzJJSicVeUQ0Lie/xxzCSkNU9hg/NgwHgnxe+oYfmfE1NCAikwWMgZ8FFAN3rArwI4nvqCGNCjVvr4/p0UQZ7QeR7HdfjWdc2r5xdw+FhvPwz4XC7dlcilWfDjhPAqJZv2qn53kLr2If8+3eqbD6GCH0RUFH87FyW1A4ioaYV0lg3SuCbQ67ui2C2g9+MGVaYJYw7DE+AQ26vMcPVHCfy6SCqrswGUUHdjX+KTmsnSorZljiEzhnuWk/xw==
- 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>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
- Delivery-date: Fri, 17 Oct 2025 09:24:19 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Thu, Oct 16, 2025 at 09:31:21AM +0200, Jan Beulich wrote:
> Despite 1db7829e5657 ("x86/hpet: do local APIC EOI after interrupt
> processing") we can still observe nested invocations of
> hpet_interrupt_handler(). This is, afaict, a result of previously used
> channels retaining their IRQ affinity until some other CPU re-uses them.
> Such nesting is increasingly problematic with higher CPU counts, as both
> handle_hpet_broadcast() and cpumask_raise_softirq() have a cpumask_t local
> variable. IOW already a single level of nesting may require more stack
> space (2 times above 4k) than we have available (8k), when NR_CPUS=16383
> (the maximum value presently possible).
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> ---
> Whether this is still worthwhile with "x86/HPET: use single, global, low-
> priority vector for broadcast IRQ" isn't quite clear to me.
Seeing the rest of the series, I don't think this is necessary
anymore? Also the comment you here is made stale by the patch that
uses a global vector.
Thanks, Roger.
|