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
Opened by John (graysky) - Saturday, 08 July 2023, 13:14 GMT
Last edited by Toolybird (Toolybird) - Saturday, 08 July 2023, 22:38 GMT
|
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
Saturday, 08 July 2023, 22:38 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
[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