• Michal Hocko's avatar
    oom: print nodemask in the oom report · 82e7d3ab
    Michal Hocko authored
    We have received a hard to explain oom report from a customer.  The oom
    triggered regardless there is a lot of free memory:
    
      PoolThread invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0, oom_score_adj=0
      PoolThread cpuset=/ mems_allowed=0-7
      Pid: 30055, comm: PoolThread Tainted: G           E X 3.0.101-80-default #1
      Call Trace:
        dump_trace+0x75/0x300
        dump_stack+0x69/0x6f
        dump_header+0x8e/0x110
        oom_kill_process+0xa6/0x350
        out_of_memory+0x2b7/0x310
        __alloc_pages_slowpath+0x7dd/0x820
        __alloc_pages_nodemask+0x1e9/0x200
        alloc_pages_vma+0xe1/0x290
        do_anonymous_page+0x13e/0x300
        do_page_fault+0x1fd/0x4c0
        page_fault+0x25/0x30
      [...]
      active_anon:1135959151 inactive_anon:1051962 isolated_anon:0
       active_file:13093 inactive_file:222506 isolated_file:0
       unevictable:262144 dirty:2 writeback:0 unstable:0
       free:432672819 slab_reclaimable:7917 slab_unreclaimable:95308
       mapped:261139 shmem:166297 pagetables:2228282 bounc...
    82e7d3ab
oom_kill.c 28.6 KB