Re: [PATCH v2 1/8] x86/pdx: simplify calculation of domain struct allocation boundary

2025-06-25 Thread Roger Pau Monné
On Tue, Jun 24, 2025 at 03:05:11PM +0200, Jan Beulich wrote: > On 20.06.2025 13:11, Roger Pau Monne wrote: > > When not using CONFIG_BIGMEM there are some restrictions in the address > > width for allocations of the domain structure, as it's PDX truncated to 32 > > bits it's stashed into page_info

Re: [PATCH v2 1/8] x86/pdx: simplify calculation of domain struct allocation boundary

2025-06-24 Thread Jan Beulich
On 20.06.2025 13:11, Roger Pau Monne wrote: > When not using CONFIG_BIGMEM there are some restrictions in the address > width for allocations of the domain structure, as it's PDX truncated to 32 > bits it's stashed into page_info structure for domain allocated pages. > > The current logic to calcu

[PATCH v2 1/8] x86/pdx: simplify calculation of domain struct allocation boundary

2025-06-20 Thread Roger Pau Monne
When not using CONFIG_BIGMEM there are some restrictions in the address width for allocations of the domain structure, as it's PDX truncated to 32 bits it's stashed into page_info structure for domain allocated pages. The current logic to calculate this limit is based on the internals of the PDX c