• Minchan Kim's avatar
    mm: vmscan: scan until it finds eligible pages · 791b48b6
    Minchan Kim authored
    Although there are a ton of free swap and anonymous LRU page in elgible
    zones, OOM happened.
    
      balloon invoked oom-killer: gfp_mask=0x17080c0(GFP_KERNEL_ACCOUNT|__GFP_ZERO|__GFP_NOTRACK), nodemask=(null),  order=0, oom_score_adj=0
      CPU: 7 PID: 1138 Comm: balloon Not tainted 4.11.0-rc6-mm1-zram-00289-ge228d67e9677-dirty #17
      Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
      Call Trace:
       oom_kill_process+0x21d/0x3f0
       out_of_memory+0xd8/0x390
       __alloc_pages_slowpath+0xbc1/0xc50
       __alloc_pages_nodemask+0x1a5/0x1c0
       pte_alloc_one+0x20/0x50
       __pte_alloc+0x1e/0x110
       __handle_mm_fault+0x919/0x960
       handle_mm_fault+0x77/0x120
       __do_page_fault+0x27a/0x550
       trace_do_page_fault+0x43/0x150
       do_async_page_fault+0x2c/0x90
       async_page_fault+0x28/0x30
      Mem-Info:
      active_anon:424716 inactive_anon:65314 isolated_anon:0
       active_file:52 inactive_file:46 isolated_file:0
       unevictable:0 dirty:27 writeback:0...
    791b48b6
vmscan.c 113 KB