Message ID | 20240314072029.16937-1-jgross@suse.com (mailing list archive) |
---|---|
Headers | show |
Series | xen/spinlock: make recursive spinlocks a dedicated type | expand |
On 14.03.2024 08:20, Juergen Gross wrote: > With lock handling now allowing up to 16384 cpus (spinlocks can handle > 65535 cpus, rwlocks can handle 16384 cpus), raise the allowed limit for > the number of cpus to be configured to 16383. > > The new limit is imposed by IOMMU_CMD_BUFFER_MAX_ENTRIES and > QINVAL_MAX_ENTRY_NR required to be larger than 2 * CONFIG_NR_CPUS. That's quite sad - I was really hoping we'd finally end up with a power-of-2 upper bound. Jan
On 14.03.24 08:26, Jan Beulich wrote: > On 14.03.2024 08:20, Juergen Gross wrote: >> With lock handling now allowing up to 16384 cpus (spinlocks can handle >> 65535 cpus, rwlocks can handle 16384 cpus), raise the allowed limit for >> the number of cpus to be configured to 16383. >> >> The new limit is imposed by IOMMU_CMD_BUFFER_MAX_ENTRIES and >> QINVAL_MAX_ENTRY_NR required to be larger than 2 * CONFIG_NR_CPUS. > > That's quite sad - I was really hoping we'd finally end up with a > power-of-2 upper bound. Yes, me too. Juergen