Re: Page-allocation-failure

From: Pankaj Suryawanshi
Date: Thu Mar 28 2019 - 03:47:12 EST



________________________________________
From: Pankaj Suryawanshi
Sent: 28 March 2019 13:12
To: linux-kernel@xxxxxxxxxxxxxxx; linux-mm@xxxxxxxxx
Subject: Page-allocation-failure

Hello ,

I am facing issue related to page allocation failure.

If anyone is familiar with this issue, let me know what is the issue?
How to solved/debug it.

Failure logs -:

---------------------------------------------------------------------------------------------------------------------------------------------------------
[ 45.073877] kswapd0: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null)
[ 45.073897] CPU: 1 PID: 716 Comm: kswapd0 Tainted: P O 4.14.65 #3
[ 45.073899] Hardware name: Android (Flattened Device Tree)
[ 45.073901] Backtrace:
[ 45.073915] [<8020dbec>] (dump_backtrace) from [<8020ded0>] (show_stack+0x18/0x1c)
[ 45.073920] r6:600f0093 r5:8141bd5c r4:00000000 r3:3abdc664
[ 45.073928] [<8020deb8>] (show_stack) from [<80ba5e30>] (dump_stack+0x94/0xa8)
[ 45.073936] [<80ba5d9c>] (dump_stack) from [<80350610>] (warn_alloc+0xe0/0x194)
[ 45.073940] r6:80e090cc r5:00000000 r4:81216588 r3:3abdc664
[ 45.073946] [<80350534>] (warn_alloc) from [<803514e0>] (__alloc_pages_nodemask+0xd70/0x124c)
[ 45.073949] r3:00000000 r2:80e090cc
[ 45.073952] r6:00000001 r5:00000000 r4:8121696c
[ 45.073959] [<80350770>] (__alloc_pages_nodemask) from [<803a6c20>] (allocate_slab+0x364/0x3e4)
[ 45.073964] r10:00000080 r9:00000000 r8:01081220 r7:ffffffff r6:00000000 r5:01080020
[ 45.073966] r4:bd00d180
[ 45.073971] [<803a68bc>] (allocate_slab) from [<803a8c98>] (___slab_alloc.constprop.6+0x420/0x4b8)
[ 45.073977] r10:00000000 r9:00000000 r8:bd00d180 r7:01080020 r6:81216588 r5:be586360
[ 45.073978] r4:00000000
[ 45.073984] [<803a8878>] (___slab_alloc.constprop.6) from [<803a8d54>] (__slab_alloc.constprop.5+0x24/0x2c)
[ 45.073989] r10:0004e299 r9:bd00d180 r8:01080020 r7:8147b954 r6:bd6e5a68 r5:00000000
[ 45.073991] r4:600f0093
[ 45.073996] [<803a8d30>] (__slab_alloc.constprop.5) from [<803a9058>] (kmem_cache_alloc+0x16c/0x2d0)
[ 45.073999] r4:bd00d180 r3:be586360
-----------------------------------------------------------------------------------------------------------------------------------------------------------


[ 44.966861] Mem-Info:
[ 44.966872] active_anon:106078 inactive_anon:142 isolated_anon:0
[ 44.966872] active_file:39117 inactive_file:34254 isolated_file:101
[ 44.966872] unevictable:597 dirty:157 writeback:0 unstable:0
[ 44.966872] slab_reclaimable:4967 slab_unreclaimable:9288
[ 44.966872] mapped:60971 shmem:185 pagetables:5905 bounce:0
[ 44.966872] free:2363 free_pcp:334 free_cma:0
[ 44.966879] Node 0 active_anon:424312kB inactive_anon:568kB active_file:156468kB inactive_file:137016kB unevictable:2388kB isolated(anon):0kB isolated(file):404kB mapped:243884kB dirty:628kB writeback:0kB shmem:740kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[ 44.966889] DMA free:9348kB min:3772kB low:15684kB high:16624kB active_anon:420592kB inactive_anon:284kB active_file:155116kB inactive_file:135724kB unevictable:1592kB writepending:628kB present:928768kB managed:892508kB mlocked:1592kB kernel_stack:9304kB pagetables:23440kB bounce:0kB free_pcp:1336kB local_pcp:672kB free_cma:0kB
[ 44.966890] lowmem_reserve[]: 0 0 8 8
[ 44.966903] HighMem free:104kB min:128kB low:236kB high:244kB active_anon:2632kB inactive_anon:284kB active_file:1912kB inactive_file:1732kB unevictable:796kB writepending:0kB present:1056768kB managed:8192kB mlocked:796kB kernel_stack:0kB pagetables:180kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[ 44.966904] lowmem_reserve[]: 0 0 0 0
[ 44.966909] DMA: 148*4kB (UMH) 52*8kB (UMH) 30*16kB (UMH) 19*32kB (MH) 7*64kB (MH) 4*128kB (H) 5*256kB (H) 0*512kB 0*1024kB 1*2048kB (H) 1*4096kB (H) 0*8192kB 0*16384kB = 10480kB
[ 44.966936] HighMem: 2*4kB (UM) 2*8kB (UM) 1*16kB (U) 0*32kB 1*64kB (U) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB = 104kB
[ 44.966958] 74134 total pagecache pages
[ 44.966961] 0 pages in swap cache
[ 44.966963] Swap cache stats: add 0, delete 0, find 0/0
[ 44.966965] Free swap = 0kB
[ 44.966966] Total swap = 0kB
[ 44.966967] 496384 pages RAM
[ 44.966969] 264192 pages HighMem/MovableOnly
[ 44.966972] 271209 pages reserved
[ 44.966975] 262144 pages cma reserved


Regards,
Pankaj
************************************************************************************************************************************************************* eInfochips Business Disclaimer: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. *************************************************************************************************************************************************************