<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mark.a.janes@intel.com" title="Mark Janes <mark.a.janes@intel.com>"> <span class="fn">Mark Janes</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - userptr deadlock in Vulkan CTS: mmu_notifier vs workers vs struct_mutex"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108456">bug 108456</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>DUPLICATE
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - userptr deadlock in Vulkan CTS: mmu_notifier vs workers vs struct_mutex"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108456#c31">Comment # 31</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - userptr deadlock in Vulkan CTS: mmu_notifier vs workers vs struct_mutex"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108456">bug 108456</a>
              from <span class="vcard"><a class="email" href="mailto:mark.a.janes@intel.com" title="Mark Janes <mark.a.janes@intel.com>"> <span class="fn">Mark Janes</span></a>
</span></b>
        <pre>It seems likely that this bug was caused by the kernel leaks fixed by this
patch:

  <a href="https://patchwork.freedesktop.org/patch/252573/">https://patchwork.freedesktop.org/patch/252573/</a>

The fix for <a class="bz_bug_link 
          bz_status_CLOSED  bz_closed"
   title="CLOSED FIXED - ANV driver doesn't release memory"
   href="show_bug.cgi?id=107899">bug 107899</a> is in v4.19 and was applied to earlier kernels, however
some distros have not yet shipped the fix.

Mesa i965 switched to softpin for gen8+ due to this bug.  The userptr deadlocks
ceased, but systems became unresponsive or OOMed after several hours of running
graphics workloads.  As a result, we started thinking more about a kernel
memory leak, and Jason remembered his fix.

*** This bug has been marked as a duplicate of <a class="bz_bug_link 
          bz_status_CLOSED  bz_closed"
   title="CLOSED FIXED - ANV driver doesn't release memory"
   href="show_bug.cgi?id=107899">bug 107899</a> ***</pre>
        </div>
      </p>


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

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>