Comment 0 for bug 1823208

Revision history for this message
Colin Ian King (colin-king) wrote :

The stress-ng numa stress fails because of a miscalculation of the maximum number of NUMA nodes.

Previously we were getting an upper bound to the number of max nodes instead of the actual number.

That made migrate_pages() fail in some devices due to having bits in the masks set beyond the maximum node identifier. We use now the count of bits in "Mems_allowed" to calculate the maximum number of NUMA nodes.

Fix is https://kernel.ubuntu.com/git/cking/stress-ng.git/commit/?id=2d4859745fd35f82081ddf8087350f85f2964971