<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [dri][swr] stack overflow / infinite loop with GALLIUM_DRIVER=swr"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97102#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [dri][swr] stack overflow / infinite loop with GALLIUM_DRIVER=swr"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97102">bug 97102</a>
              from <span class="vcard"><a class="email" href="mailto:timothy.o.rowley@intel.com" title="Tim Rowley <timothy.o.rowley@intel.com>"> <span class="fn">Tim Rowley</span></a>
</span></b>
        <pre>I think the right fix for CalculateProcessorTopology is to prune empty nodes at
the end:

    for (auto it = out_nodes.begin(); it != out_nodes.end(); ) {
        if ((*it).cores.size() == 0)
            it = out_nodes.erase(it);
        else
            ++it;
    }

However, the rest of the topology logic with that cpuinfo comes to the
conclusion that's there's only two cores, and so will only generate two threads
with one being dedicated to the API.  We'll need to adjust that logic as well.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>