commit | f230628f5aeb00987d640c3240be9582fc8e6000 | [log] [tgz] |
---|---|---|
author | Tony Luck <tony.luck@intel.com> | Tue Oct 24 19:05:41 2023 -0700 |
committer | Tony Luck <tony.luck@intel.com> | Tue Oct 24 19:05:41 2023 -0700 |
tree | 60e0f0921caade7b2cd9b65f8bb6378d7670dcbc | |
parent | 17b57df4684ac939e6db67b715b322e47c3c0961 [diff] |
proc_cpuinfo: Add sanity check for number of sockets A misconfigured system appeared to have a huge number of sockets. The code here did not handle this gracefully as the bitmask of sockets is only 64-bits wide, so the extra sockets were not counted. It doesn't seem worth changiing the code to support more sockets as such systems do not exist. Just check, warn, and exit if a socket > 63 is found. Signed-off-by: Tony Luck <tony.luck@intel.com>