<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [HSW]igt/gem_tiled_swapping randomly causes OOM killer"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72742">72742</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[HSW]igt/gem_tiled_swapping randomly causes OOM killer
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=90818" name="attach_90818" title="dmesg">attachment 90818</a> <a href="attachment.cgi?id=90818&action=edit" title="dmesg">[details]</a></span>
dmesg

System Environment:
--------------------------
Platform: Haswell
Kernel: (drm-intel-queued) df4547d82589714f1b0cecd93569130a452cbf46

Bug detailed description:
-------------------------
It randomly causes OOOM killer, It happens 3 in 5 runs.
It happens on haswell with -queued, -fixes and -nightly kernel.

output:
IGT-Version: 1.5-g62e1cbc (x86_64) (Linux:
3.13.0-rc3_drm-intel-next-queued_df4547_20131215+ x86_64)
Killed

Call Trace:
[   42.384756]  [<ffffffff81711921>] ? dump_stack+0x41/0x51
[   42.384783]  [<ffffffff8170df47>] ? dump_header.isra.8+0x69/0x191
[   42.384814]  [<ffffffff8106ded1>] ? ktime_get_ts+0x49/0xab
[   42.384846]  [<ffffffff812cf3be>] ? ___ratelimit+0xae/0xc8
[   42.384878]  [<ffffffff810a3208>] ? oom_kill_process+0x76/0x2f8
[   42.384913]  [<ffffffff810a399e>] ? out_of_memory+0x3b2/0x3e5
[   42.384948]  [<ffffffff810a70e8>] ? __alloc_pages_nodemask+0x664/0x771
[   42.384988]  [<ffffffff810d0607>] ? alloc_pages_current+0xbf/0xdc
[   42.385024]  [<ffffffff810a21bc>] ? filemap_fault+0x25c/0x381
[   42.385069]  [<ffffffffa0075aeb>] ? i915_gem_fault+0x1b2/0x1c3 [i915]
[   42.385102]  [<ffffffff810b7f82>] ? __do_fault+0xac/0x3bf
[   42.385134]  [<ffffffff810bb6de>] ? handle_mm_fault+0x1e7/0x7e2
[   42.385170]  [<ffffffff81719c6c>] ? __do_page_fault+0x41c/0x469
[   42.385205]  [<ffffffff810b29ce>] ? vm_mmap_pgoff+0x82/0xab
[   42.385238]  [<ffffffff810e90cc>] ? do_vfs_ioctl+0x3f1/0x43a
[   42.385272]  [<ffffffff81717232>] ? page_fault+0x22/0x30

[   42.406280] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents
oom_score_adj name
[   42.407130] [ 2572]     0  2572    77062       90     154        0          
  0 systemd-journal
[   42.408027] [ 2904]     0  2904    10305      194      23        0        
-1000 systemd-udevd
[   42.408888] [ 3374]     0  3374    24466       45      22        0          
  0 lvmetad
[   42.409748] [ 3400]     0  3400    12231       92      24        0        
-1000 auditd
[   42.410638] [ 3406]     0  3406    20053       33       9        0          
  0 audispd
[   42.411494] [ 3410]     0  3410     5993       41      27        0          
  0 sedispatch
[   42.412351] [ 3427]     0  3427     4778       53      22        0          
  0 irqbalance
[   42.413290] [ 3428]     0  3428     6069      151      16        0          
  0 smartd
[   42.414196] [ 3430]     0  3430    35147       67      39        0          
  0 abrtd
[   42.415073] [ 3432]     0  3432    34618       63      38        0          
  0 abrt-watch-log
[   42.415961] [ 3435]     0  3435    34618       62      38        0          
  0 abrt-watch-log
[   42.416831] [ 3438]     0  3438     1075       20       9        0          
  0 rngd
[   42.417700] [ 3442]     0  3442     8249       76      19        0          
  0 systemd-logind
[   42.418607] [ 3444]     0  3444    86500      284      56        0          
  0 NetworkManager
[   42.419488] [ 3446]     0  3446    65772      101      29        0          
  0 rsyslogd
[   42.420400] [ 3452]    70  3452     6985       54      30        0          
  0 avahi-daemon
[   42.421285] [ 3456]    81  3456     6118      101      16        0         
-900 dbus-daemon
[   42.422172] [ 3461]     0  3461     1749       30      10        0          
  0 mcelog
[   42.423119] [ 3472]   993  3472     5647       57      14        0          
  0 chronyd
[   42.424019] [ 3482]    70  3482     6985       50      22        0          
  0 avahi-daemon
[   42.424925] [ 3495]   999  3495   127896      800      46        0          
  0 polkitd
[   42.425873] [ 3503]     0  3503    40408      186      67        0         
-900 modem-manager
[   42.426791] [ 3532]     0  3532    25512     3113      51        0          
  0 dhclient
[   42.427718] [ 3539]     0  3539   132685     1177     142        0          
  0 libvirtd
[   42.428680] [ 3555]    32  3555     9422       94      21        0          
  0 rpcbind
[   42.429609] [ 3564]     0  3564    20104      201      41        0        
-1000 sshd
[   42.430538] [ 3591]     0  3591    25190      448      47        0          
  0 sendmail
[   42.431475] [ 3613]    51  3613    21453      375      39        0          
  0 sendmail
[   42.432453] [ 3632]     0  3632    31020      148      19        0          
  0 crond
[   42.433399] [ 3633]     0  3633     5930       47      16        0          
  0 atd
[   42.434349] [ 3641]     0  3641    27498       29      11        0          
  0 agetty
[   42.435346] [ 3694]     0  3694    32766      286      64        0          
  0 sshd
[   42.436366] [ 3698]     0  3698    29262      512      19        0          
  0 bash
[   42.437331] [ 3796]     0  3796    15969      109      48        0         
1000 gem_tiled_swapp
[   42.438323] Out of memory: Kill process 3796 (gem_tiled_swapp) score 969 or
sacrifice child
[   42.439360] Killed process 3796 (gem_tiled_swapp) total-vm:63876kB,
anon-rss:416kB, file-rss:20kB


Reproduce steps:
----------------------------
1. ./gem_tiled_swapping</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>