Skip to content
Snippets Groups Projects
Commit b829206b authored by Bruce Cherniak's avatar Bruce Cherniak Committed by Tim Rowley
Browse files

swr: Prune empty nodes in CalculateProcessorTopology.

CalculateProcessorTopology tries to figure out system topology by
parsing /proc/cpuinfo to determine the number of threads, cores, and
NUMA nodes.  There are some architectures where the "physical id" begins
with 1 rather than 0, which was creating and empty "0" node and causing a
crash in CreateThreadPool.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97102


Reviewed-By: default avatarGeorge Kyriazis <george.kyriazis@intel.com>
CC: <mesa-stable@lists.freedesktop.org>
parent d349449a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment