<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [BAT] igt@drv_selftest@mock_hugepages - dmesg-fail - Failed assertion: err == 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107254">bug 107254</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;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [BAT] igt@drv_selftest@mock_hugepages - dmesg-fail - Failed assertion: err == 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107254#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [BAT] igt@drv_selftest@mock_hugepages - dmesg-fail - Failed assertion: err == 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107254">bug 107254</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>If my guess is correct that this is self-inflicted (as opposed to external
fragmentation), this should be prevented by:

commit d778847208c016f66a44d4c40baa74ca3bf724fd (HEAD -> drm-intel-next-queued,
drm-intel/for-linux-next, drm-intel/drm-intel-next-queued)
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Tue Jul 17 09:23:34 2018 +0100

    drm/i915/selftests: Free the backing store between iterations

    In the huge pages tests, we may have lots of objects being trapped on
    the freelist as we hold the struct_mutex allowing the free worker no
    opportunity to recover the backing store. We also have stricter
    requirements and the desire for large contiguous pages, further
    increasing the allocation pressure. To reduce the chance of running out
    of memory, we could either drop the mutex and flush the free worker, or
    we could release the backing store directly. We do the latter in this
    patch for simplicity.

    References: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [BAT] igt@drv_selftest@mock_hugepages - dmesg-fail - Failed assertion: err == 0"
   href="show_bug.cgi?id=107254">https://bugs.freedesktop.org/show_bug.cgi?id=107254</a>
    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
    Cc: Matthew Auld <<a href="mailto:matthew.william.auld@gmail.com">matthew.william.auld@gmail.com</a>>
    Reviewed-by: Matthew Auld <<a href="mailto:matthew.william.auld@gmail.com">matthew.william.auld@gmail.com</a>>
    Link:
<a href="https://patchwork.freedesktop.org/patch/msgid/20180717082334.18774-1-chris@chris-wilson.co.uk">https://patchwork.freedesktop.org/patch/msgid/20180717082334.18774-1-chris@chris-wilson.co.uk</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 assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>