From: "fugang.duan@freescale.com" <fugang.duan@freescale.com>
To: Michal Hocko <mhocko@suse.cz>,
"rmk+kernel@arm.linux.org.uk" <rmk+kernel@arm.linux.org.uk>
Cc: "andi@firstfloor.org" <andi@firstfloor.org>,
"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
"hannes@cmpxchg.org" <hannes@cmpxchg.org>,
"cl@linux-foundation.org" <cl@linux-foundation.org>,
"vegardno@ifi.uio.no" <vegardno@ifi.uio.no>,
"penberg@kernel.org" <penberg@kernel.org>,
"bsingharora@gmail.com" <bsingharora@gmail.com>,
"kamezawa.hiroyu@jp.fujitsu.com" <kamezawa.hiroyu@jp.fujitsu.com>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"cgroups@vger.kernel.org" <cgroups@vger.kernel.org>,
"davem@davemloft.net" <davem@davemloft.net>,
"eric.dumazet@gmail.com" <eric.dumazet@gmail.com>,
"ezequiel.garcia@free-electrons.com"
<ezequiel.garcia@free-electrons.com>,
"David.Laight@ACULAB.COM" <David.Laight@ACULAB.COM>
Subject: RE: [Question] page allocation failure
Date: Mon, 8 Dec 2014 03:18:24 +0000 [thread overview]
Message-ID: <BLUPR03MB37391D4A29CD2F3452B6EFFF5640@BLUPR03MB373.namprd03.prod.outlook.com> (raw)
In-Reply-To: <20141205125559.GC2321@dhcp22.suse.cz>
From: Michal Hocko <mhocko@suse.cz> Sent: Friday, December 05, 2014 8:56 PM
> To: Duan Fugang-B38611
> Cc: andi@firstfloor.org; catalin.marinas@arm.com; hannes@cmpxchg.org;
> cl@linux-foundation.org; vegardno@ifi.uio.no; penberg@kernel.org;
> bsingharora@gmail.com; kamezawa.hiroyu@jp.fujitsu.com; linux-mm@kvack.org;
> cgroups@vger.kernel.org; davem@davemloft.net; eric.dumazet@gmail.com;
> ezequiel.garcia@free-electrons.com; David.Laight@ACULAB.COM
> Subject: Re: [Question] page allocation failure
>
> On Fri 05-12-14 10:22:49, fugang.duan@freescale.com wrote:
> [...]
> > [Playing (List Repeated)][Vol=01][00:02:54/00:04:07]swapper/0: page
> > allocation failure: order:0, mode:0x200020
> > CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.53-1.1.0_ga+g67f859d #1
> > [<80013b00>] (unwind_backtrace+0x0/0xf4) from [<80011524>]
> > (show_stack+0x10/0x14) [<80011524>] (show_stack+0x10/0x14) from
> > [<80094474>] (warn_alloc_failed+0xe0/0x118) [<80094474>]
> > (warn_alloc_failed+0xe0/0x118) from [<8009723c>]
> > (__alloc_pages_nodemask+0x640/0x89c)
> > [<8009723c>] (__alloc_pages_nodemask+0x640/0x89c) from [<800c13e4>]
> > (new_slab+0x1e4/0x218) [<800c13e4>] (new_slab+0x1e4/0x218) from
> > [<8067ef38>] (__slab_alloc.isra.64.constprop.69+0x380/0x590)
> > [<8067ef38>] (__slab_alloc.isra.64.constprop.69+0x380/0x590) from
> > [<800c29a8>] (kmem_cache_alloc+0xdc/0x110) [<800c29a8>]
> > (kmem_cache_alloc+0xdc/0x110) from [<805197d0>] (build_skb+0x28/0x98)
> > [<805197d0>] (build_skb+0x28/0x98) from [<8051c0c8>]
> > (__netdev_alloc_skb+0x54/0xfc) [<8051c0c8>]
> > (__netdev_alloc_skb+0x54/0xfc) from [<803ab878>]
> > (fec_enet_rx_napi+0x758/0xa28) [<803ab878>]
> > (fec_enet_rx_napi+0x758/0xa28) from [<80527618>]
> > (net_rx_action+0xbc/0x17c) [<80527618>] (net_rx_action+0xbc/0x17c)
> > from [<800332ec>] (__do_softirq+0x120/0x200) [<800332ec>]
> > (__do_softirq+0x120/0x200) from [<80033460>] (do_softirq+0x50/0x58)
> > [<80033460>] (do_softirq+0x50/0x58) from [<800336fc>]
> > (irq_exit+0x9c/0xd0) [<800336fc>] (irq_exit+0x9c/0xd0) from
> > [<8000e94c>] (handle_IRQ+0x44/0x90) [<8000e94c>]
> > (handle_IRQ+0x44/0x90) from [<80008558>] (gic_handle_irq+0x2c/0x5c)
> > [<80008558>] (gic_handle_irq+0x2c/0x5c) from [<8000dc80>]
> > (__irq_svc+0x40/0x70) Exception stack(0x80cbff20 to 0x80cbff68)
> > ff20: 80cbff68 00003fee b2931c73 00000ee2 b292c14d 00000ee2 81597180
> > 80ccbd68
> > ff40: 00000000 00000000 80cbe000 80cbe000 00000017 80cbff68 8005fbd4
> > 80456db0
> > ff60: 60010013 ffffffff
> > [<8000dc80>] (__irq_svc+0x40/0x70) from [<80456db0>]
> > (cpuidle_enter_state+0x50/0xe0) [<80456db0>]
> > (cpuidle_enter_state+0x50/0xe0) from [<80456ef0>]
> > (cpuidle_idle_call+0xb0/0x148) [<80456ef0>]
> > (cpuidle_idle_call+0xb0/0x148) from [<8000ec68>]
> > (arch_cpu_idle+0x10/0x54) [<8000ec68>] (arch_cpu_idle+0x10/0x54) from
> > [<8005f4a8>] (cpu_startup_entry+0x104/0x150) [<8005f4a8>]
> > (cpu_startup_entry+0x104/0x150) from [<80c71a9c>]
> > (start_kernel+0x324/0x330)
> > Mem-info:
> > DMA per-cpu:
> > CPU 0: hi: 186, btch: 31 usd: 208
> > CPU 1: hi: 186, btch: 31 usd: 0
> > CPU 2: hi: 186, btch: 31 usd: 0
> > CPU 3: hi: 186, btch: 31 usd: 97
> > active_anon:11642 inactive_anon:331 isolated_anon:0
> > active_file:78585 inactive_file:79182 isolated_file:0
> > unevictable:0 dirty:0 writeback:0 unstable:0
> > free:35948 slab_reclaimable:1318 slab_unreclaimable:2242
> > mapped:5698 shmem:367 pagetables:477 bounce:0
> > free_cma:35784
> > DMA free:143792kB min:3336kB low:4168kB high:5004kB
> > active_anon:46568kB inactive_anon:1324kB active_file:314340kB
> > inactive_file:316728kB unevictable:0kB isolated(anon):0kB
> > isolated(file):0kB present:1048576kB managed:697164kB mlocked:0kB
> > dirty:0kB writeback:0kB mapped:22792kB shmem:1468kB
> > slab_reclaimable:5272kB slab_unreclaimable:8968kB kernel_stack:1704kB
> > pagetables:1908kB unstable:0kB bounce:0kB free_cma:143136kB
> > writeback_tmp:0kB pages_scanned:51 all_unreclaimable? no
> > lowmem_reserve[]: 0 0 0 0
> > DMA: 4452*4kB (UC) 4382*8kB (UC) 4111*16kB (UC) 786*32kB (UC) 0*64kB
> > 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB
> > 0*32768kB = 143792kB
>
> All your remaining memory is apparently reserved for C - CMA allocator.
> I would recommend to contact CMA people and check your configuration with
> them.
Thanks for your response. I add Russell king in the loop.
>
> > 158126 total pagecache pages
> > 0 pages in swap cache
> > Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total
> > swap = 0kB
> > SLUB: Unable to allocate memory on node -1 (gfp=0x20)
> > cache: kmalloc-192, object size: 192, buffer size: 192, default order:
> 0, min order: 0
> > node 0: slabs: 0, objs: 0, free: 0
> > [Playing (List Repeated)][Vol=01][00:02:56/00:04:07]
> >
> >
> > Regards,
> > Andy
>
> --
> Michal Hocko
> SUSE Labs
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2014-12-08 3:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-05 10:22 fugang.duan
2014-12-05 12:55 ` Michal Hocko
2014-12-08 3:18 ` fugang.duan [this message]
2014-12-08 3:25 fugang.duan
2014-12-08 10:20 ` Michal Hocko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BLUPR03MB37391D4A29CD2F3452B6EFFF5640@BLUPR03MB373.namprd03.prod.outlook.com \
--to=fugang.duan@freescale.com \
--cc=David.Laight@ACULAB.COM \
--cc=andi@firstfloor.org \
--cc=bsingharora@gmail.com \
--cc=catalin.marinas@arm.com \
--cc=cgroups@vger.kernel.org \
--cc=cl@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=ezequiel.garcia@free-electrons.com \
--cc=hannes@cmpxchg.org \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.cz \
--cc=penberg@kernel.org \
--cc=rmk+kernel@arm.linux.org.uk \
--cc=vegardno@ifi.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox