FS#79018 - [linux] CONFIG_NODES_SHIFT is not a power of 2

Attached to Project: Arch Linux
Opened by John (graysky) - Saturday, 08 July 2023, 13:14 GMT
Last edited by Toolybird (Toolybird) - Saturday, 08 July 2023, 22:38 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The setting for CONFIG_NODES_SHIFT should be a power of 2 according to the kernel docs.

https://www.kernelconfig.io/config_nodes_shift
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 08 July 2023, 22:38 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by loqs (loqs) - Saturday, 08 July 2023, 14:01 GMT
"Maximum NUMA Nodes (as a power of 2)" so with CONFIG_NODES_SHIFT=5
[1] #define MAX_NUMNODES (1 << NODES_SHIFT)
meaning the max number of supported nodes is 32.

[1] https://github.com/torvalds/linux/blob/v6.4/include/linux/numa.h#L12

Loading...