system/easy-kernel (4.4.9-mc2): page allocation failure under memory pressure
Bugzilla ID | 10 |
Reporter | A. Wilcox (awilfox) |
Assignee | Horst Burkhardt (mc68030) |
Reported | 2016-07-23 14:37:43 -0500 |
Modified | 2016-07-27 21:08:39 -0500 |
Status | RESOLVED WONTFIX |
Version | 1.0-ALPHA1 |
Hardware | Adélie Linux / Intel x86 (64-bit) |
Importance | Normal / normal |
Description
When the system runs low on RAM, instead of hitting oomkiller on large allocations, it instead fails to allocate page cache and the process requesting memory goes into "D" state in top.
dmesg output:
[15073.699225] gdb: page allocation failure: order:0, mode:0x54200ca
[15073.699228] CPU: 0 PID: 3992 Comm: gdb Not tainted 4.4.9-mc2-easy #1 (closed)
[15073.699229] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[15073.699230] 0000000000000286 000000001e8a7181 ffff8800016fb460 ffffffff81308fb8
[15073.699232] 00000000054200ca 0000000000000000 ffff8800016fb4f0 ffffffff8112e8f5
[15073.699233] ffff8800016fb4f0 ffff880017fedb20 0000000000000000 0000000000000042
[15073.699234] Call Trace:
[15073.699239] [] dump_stack+0x4d/0x65
[15073.699242] [] warn_alloc_failed+0xf5/0x150
[15073.699244] [] __alloc_pages_nodemask+0x324/0xb00
[15073.699247] [] alloc_pages_current+0x87/0x110
[15073.699248] [] __page_cache_alloc+0xb0/0xc0
[15073.699249] [] pagecache_get_page+0x7f/0x1c0
[15073.699250] [] grab_cache_page_write_begin+0x21/0x40
[15073.699252] [] ext4_da_write_begin+0xaa/0x330
[15073.699253] [] generic_perform_write+0xc9/0x1c0
[15073.699256] [] ? file_update_time+0x5a/0x110
[15073.699257] [] __generic_file_write_iter+0x18b/0x1e0
[15073.699259] [] ? inotify_handle_event+0xdb/0x170
[15073.699262] [] ? preempt_schedule_common+0x18/0x30
[15073.699264] [] ext4_file_write_iter+0xfd/0x470
[15073.699265] [] ? fsnotify_destroy_event+0x2b/0x50
[15073.699267] [] ? follow_page_pte+0x199/0x320
[15073.699269] [] __vfs_write+0xc7/0x100
[15073.699270] [] __kernel_write+0x4a/0xf0
[15073.699272] [] dump_emit+0x72/0xc0
[15073.699273] [] elf_core_dump+0x125e/0x13f0
[15073.699274] [] do_coredump+0x7a3/0xe50
[15073.699276] [] ? __delayacct_blkio_end+0x2b/0x40
[15073.699278] [] get_signal+0x25c/0x5c0
[15073.699280] [] do_signal+0x32/0x690
[15073.699281] [] ? do_send_sig_info+0x67/0xa0
[15073.699282] [] exit_to_usermode_loop+0x74/0x90
[15073.699283] [] syscall_return_slowpath+0x48/0x50
[15073.699284] [] int_ret_from_sys_call+0x25/0x8f
[15073.699285] Mem-Info:
[15073.699287] active_anon:73571 inactive_anon:712 isolated_anon:0
active_file:172 inactive_file:335 isolated_file:0
unevictable:0 dirty:0 writeback:252 unstable:0
slab_reclaimable:1874 slab_unreclaimable:4491
mapped:852 shmem:758 pagetables:3260 bounce:0
free:953 free_pcp:0 free_cma:0
[15073.699289] Node 0 DMA free:1484kB min:104kB low:128kB high:156kB active_anon:10832kB inactive_anon:84kB active_file:632kB inactive_file:896kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:0kB dirty:0kB writeback:688kB mapped:652kB shmem:108kB slab_reclaimable:152kB slab_unreclaimable:440kB kernel_stack:128kB pagetables:204kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:9268 all_unreclaimable? yes
[15073.699291] lowmem_reserve[]: 0 347 347 347
[15073.699293] Node 0 DMA32 free:2328kB min:2328kB low:2908kB high:3492kB active_anon:283452kB inactive_anon:2764kB active_file:56kB inactive_file:444kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:376768kB managed:359584kB mlocked:0kB dirty:0kB writeback:320kB mapped:2756kB shmem:2924kB slab_reclaimable:7344kB slab_unreclaimable:17524kB kernel_stack:2192kB pagetables:12836kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:3472 all_unreclaimable? yes
[15073.699295] lowmem_reserve[]: 0 0 0 0
[15073.699297] Node 0 DMA: 14kB (M) 298kB (UME) 4816kB (UME) 1532kB (ME) 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 04096kB = 1484kB
[15073.699301] Node 0 DMA32: 1024kB (UME) 628kB (UME) 4716kB (UME) 932kB (UE) 464kB (U) 1128kB (E) 0256kB 0512kB 01024kB 02048kB 04096kB = 2328kB
[15073.699306] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[15073.699307] 1270 total pagecache pages
[15073.699308] 0 pages in swap cache
[15073.699308] Swap cache stats: add 0, delete 0, find 0/0
[15073.699309] Free swap = 0kB
[15073.699309] Total swap = 0kB
[15073.699310] 98190 pages RAM
[15073.699310] 0 pages HighMem/MovableOnly
[15073.699311] 4317 pages reserved
[15073.699311] 0 pages hwpoisoned