Hi all, as you can see here, gfp_mask=0x4d0 order=2 which means 2^2 pages of ___GFP_REPEAT ___GFP_FS ___GFP_IO ___GFP_WAIT is requiredhere. However MMU do not have enough pages, then OOM occurs.
Also, zone of both normal and highmem reserve enough memory, and do not trigger the watermark here.
[ 440.168392] adbd invoked oom-killer: gfp_mask=0x4d0, order=2, oom_score_adj=-1000
[ 440.168409] CPU: 0 PID: 215 Comm: adbd Not tainted 3.14.52-g6d026e0-dirty #122
[ 440.168480] [<c0014e9c>] (unwind_backtrace) from [<c0011a30>] (show_stack+0x10/0x14)
[ 440.168506] [<c0011a30>] (show_stack) from [<c0883be8>] (dump_stack+0x64/0xb4)
[ 440.168523] [<c0883be8>] (dump_stack) from [<c0880d9c>] (dump_header.isra.11+0x64/0x188)
[ 440.168549] [<c0880d9c>] (dump_header.isra.11) from [<c00b3a50>] (oom_kill_process+0x354/0x3d0)
[ 440.168561] [<c00b3a50>] (oom_kill_process) from [<c00b3f04>] (out_of_memory+0x26c/0x330)
[ 440.168572] [<c00b3f04>] (out_of_memory) from [<c00b82ac>] (__alloc_pages_nodemask+0x8a8/0x8e8)
[ 440.168581] [<c00b82ac>] (__alloc_pages_nodemask) from [<c00b82fc>] (__get_free_pages+0x10/0x24)
[ 440.168591] [<c00b82fc>] (__get_free_pages) from [<c001b0b8>] (pgd_alloc+0x14/0x10c)
[ 440.168610] [<c001b0b8>] (pgd_alloc) from [<c0030d78>] (mm_init.isra.41+0x90/0xd0)
[ 440.168623] [<c0030d78>] (mm_init.isra.41) from [<c00321f4>] (copy_process+0xe7c/0x13a4)
[ 440.168631] [<c00321f4>] (copy_process) from [<c003281c>] (do_fork+0x60/0x2c4)
[ 440.168640] [<c003281c>] (do_fork) from [<c000e3e0>] (ret_fast_syscall+0x0/0x38)
[ 440.168645] Mem-info:
[ 440.168649] Normal per-cpu:
[ 440.168656] CPU 0: hi: 18, btch: 3 usd: 0
[ 440.168659] CPU 1: hi: 18, btch: 3 usd: 0
[ 440.168661] CPU 2: hi: 18, btch: 3 usd: 0
[ 440.168664] CPU 3: hi: 18, btch: 3 usd: 0
[ 440.168667] HighMem per-cpu:
[ 440.168670] CPU 0: hi: 186, btch: 31 usd: 0
[ 440.168673] CPU 1: hi: 186, btch: 31 usd: 0
[ 440.168676] CPU 2: hi: 186, btch: 31 usd: 0
[ 440.168679] CPU 3: hi: 186, btch: 31 usd: 0
[ 440.168694] active_anon:76422 inactive_anon:26168 isolated_anon:0
[ 440.168694] active_file:23930 inactive_file:58420 isolated_file:0
[ 440.168694] unevictable:0 dirty:0 writeback:0 unstable:0
[ 440.168694] free:230530 slab_reclaimable:1347 slab_unreclaimable:3709
[ 440.168694] mapped:42211 shmem:3039 pagetables:6279 bounce:0
[ 440.168694] free_cma:57102
[ 440.168718] Normal free:250552kB min:3100kB low:11708kB high:12484kB active_anon:0kB inactive_anon:0kB active_file:68kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:638976kB managed:607096kB mlocked:0kB dirty:0kB writeback:0kB mapped:12kB shmem:0kB slab_reclaimable:5388kB slab_unreclaimable:14836kB kernel_stack:7424kB pagetables:25116kB unstable:0kB bounce:0kB free_cma:228408kB writeback_tmp:0kB pages_scanned:448 all_unreclaimable? yes
[ 440.168733] lowmem_reserve[]: 0 11384 11384
[ 440.168750] HighMem free:671568kB min:512kB low:21184kB high:23044kB active_anon:305700kB inactive_anon:104672kB active_file:95652kB inactive_file:233680kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1457152kB managed:1457152kB mlocked:0kB dirty:0kB writeback:0kB mapped:168832kB shmem:12156kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[ 440.168756] lowmem_reserve[]: 0 0 0
[ 440.168800] Normal: 4223*4kB (EMC) 661*8kB (MC) 7*16kB (C) 3*32kB (C) 3*64kB (C) 1*128kB (C) 8*256kB (C) 3*512kB (C) 3*1024kB (C) 4*2048kB (C) 2*4096kB (C) 1*8192kB (C) 2*16384kB (C) 5*32768kB (C) = 250548kB
[ 440.168837] HighMem: 29*4kB (UM) 18*8kB (UM) 6*16kB (UM) 164*32kB (UM) 202*64kB (UM) 44*128kB (UM) 10*256kB (UM) 4*512kB (UM) 2*1024kB (UM) 1*2048kB (M) 2*4096kB (UM) 1*8192kB (U) 2*16384kB (UM) 18*32768kB (UMR) = 671844kB
[ 440.168839] 90265 total pagecache pages
[ 440.168847] 4881 pages in swap cache
[ 440.168851] Swap cache stats: add 141055, delete 136174, find 2469/61576
[ 440.168854] Free swap = 236852kB
[ 440.168856] Total swap = 307196kB
[ 440.264413] 524288 pages of RAM
[ 440.264417] 231622 free pages
[ 440.264419] 11644 reserved pages
[ 440.264422] 3615 slab pages
[ 440.264423] 189890 pages shared
[ 440.264426] 4892 pages swap cached
[ 440.264431] [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
[ 440.264494] [ 170] 0 170 2196 104 5 0 -1000 ueventd
[ 440.264506] [ 171] 0 171 2196 37 5 0 -1000 watchdogd
[ 440.264523] [ 183] 1036 183 5876 471 9 46 -1000 logd
[ 440.264534] [ 184] 0 184 2458 71 5 21 -1000 healthd
[ 440.264543] [ 185] 0 185 2657 239 5 16 -1000 lmkd
[ 440.264552] [ 186] 1000 186 2366 156 4 2 -1000 servicemanager
[ 440.264561] [ 187] 0 187 4512 325 7 93 -1000 vold
[ 440.264568] [ 188] 1000 188 83165 2107 164 83 -1000 surfaceflinger
[ 440.264577] [ 199] 0 199 2331 164 4 3 -1000 sh
[ 440.264585] [ 200] 0 200 5711 353 12 4 -1000 netd
[ 440.264596] [ 201] 0 201 2515 196 5 14 -1000 debuggerd
[ 440.275533] [ 203] 1019 203 5808 729 10 79 -1000 drmserver
[ 440.275547] [ 205] 1013 205 98325 2496 176 178 -1000 mediaserver
[ 440.275559] [ 206] 1012 206 2354 165 4 0 -1000 installd
[ 440.275569] [ 207] 1017 207 3126 397 6 21 -1000 keystore
[ 440.275582] [ 208] 0 208 2303 148 4 25 -1000 logcat
[ 440.275589] [ 209] 0 209 2301 132 4 0 -1000 klog
[ 440.275597] [ 210] 0 210 3870 256 6 40 -1000 rild
[ 440.275607] [ 211] 0 211 367288 9320 225 319 -1000 main
[ 440.275616] [ 214] 1023 214 4364 324 7 20 -1000 sdcard
[ 440.275622] [ 215] 0 215 3989 61 7 12 -1000 adbd
[ 440.275633] [ 735] 1000 735 462865 17325 415 845 -941 system_server
[ 440.275643] [ 835] 10014 835 451678 18200 385 1816 -705 ndroid.systemui
[ 440.275651] [ 854] 10005 854 370402 6775 220 434 294 d.process.media
[ 440.275659] [ 986] 1010 986 3144 608 6 26 -1000 wpa_supplicant
[ 440.275668] [ 1024] 10035 1024 441417 10300 363 698 117 putmethod.latin
[ 440.275676] [ 1057] 1001 1057 375444 8111 226 496 -705 m.android.phone
[ 440.275685] [ 1083] 10007 1083 443073 12439 372 683 352 ndroid.launcher
[ 440.275696] [ 1137] 10002 1137 371046 6579 222 525 529 d.process.acore
[ 440.275711] [ 1278] 1014 1278 2338 152 4 9 -1000 dhcpcd
[ 440.275720] [ 1432] 1000 1432 441907 9550 359 663 529 ndroid.settings
[ 440.275730] [ 1867] 10010 1867 369044 5220 210 397 647 android.musicfx
[ 440.275737] [ 1964] 10020 1964 548371 31653 488 2407 411 android.browser
[ 440.275746] [ 2066] 10044 2066 369679 5541 211 290 764 .quicksearchbox
[ 440.275755] [ 2089] 10003 2089 368982 5462 210 338 764 id.defcontainer
[ 440.275766] [ 2671] 10033 2671 370706 5603 214 318 647 droid.gallery3d
[ 440.275775] [ 2696] 10041 2696 368983 4950 210 292 529 com.svox.pico
[ 440.275784] [ 2975] 10048 2975 550690 55256 611 3729 0 .tencent.qqlive
[ 440.275798] [ 3021] 10048 3021 399798 14989 284 551 58 qqlive:services
[ 440.275807] [ 3218] 10048 3218 407361 16054 292 953 58 nt.qqlive:cache
[ 440.275819] [ 3367] 10048 3367 386109 10008 248 391 58 nloadSDKService
[ 440.275827] [ 3979] 10048 3979 322619 11801 50 847 0 main
[ 440.275838] Out of memory: Kill process 2066 (.quicksearchbox) score 773 or sacrifice child
[ 440.275858] Killed process 2066 (.quicksearchbox) total-vm:1478716kB, anon-rss:7696kB, file-rss:14468kB
Hi If
had you tried latest android bsps with L4.15 kernel on
Had you tried Demo Images on that link.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------