Re: [PATCH 2/2 v6] mm/mempolicy: Don't create weight sysfs for memoryless nodes

Gregory Price
2025-03-11T02:42:59Z

On Tue, Mar 11, 2025 at 11:07:27AM +0900, Yunjeong Mun wrote:
> Hi Gregory,
>
> In my understanding, both SRAT and CFMWS have the above device and interleave setup.
>
> and below are the CFMWS configurations (with some unnecessary lines removed):
>
> [0A4h 0164 001h] Subtable Type : 01 [CXL Fixed Memory Window Structure]
> [0ACh 0172 008h] Window base address : 0000002080000000 <- Memory region
> [0B4h 0180 008h] Window size : 0000032780000000
> [0BCh 0188 001h] Interleave Members : 01 <-- 2-way interleave
> [0BDh 0189 001h] Interleave Arithmetic : 01
> [0C8h 0200 004h] First Target : 00000043 <-- host bridge id
> [0CCh 0204 004h] Next Target : 00000053 <-- host bridge id
>
> ...
>
> [170h 0368 001h] Subtable Type : 01 [CXL Fixed Memory Window Structure]
> [178h 0376 008h] Window base address : 0000064F80000000
> [180h 0384 008h] Window size : 0000033000000000
> [188h 0392 001h] Interleave Members : 01 <-- 2-way interleave
> [189h 0393 001h] Interleave Arithmetic : 01
> [194h 0404 004h] First Target : 00000143 <-- host bridge id
> [198h 0408 004h] Next Target : 00000153 <-- host bridge id
>

Are you able to share all CXL Fixed Memory Window Structures in the
CEDT? Just want to confirm some suspicions here about why we're seeing
12 NUMA nodes. This explains 2 and suggests there's at least 4 host
bridges - but not the other 8.

~Gregory