Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1192063ybb; Thu, 28 Mar 2019 22:43:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDJM4obghrjBzueNBBoK01jKQVGjSzSXEGX698g/zO2DmZu8V3dqFB+3JWc347HhFj7MC1 X-Received: by 2002:a17:902:9a98:: with SMTP id w24mr46321749plp.247.1553838189681; Thu, 28 Mar 2019 22:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553838189; cv=none; d=google.com; s=arc-20160816; b=BjKscOeOFCojFQtrVM92brFMdyc5RKSRxvw4ee/d/TvI/KuBF3HtYZpN4Rl7sebtxL laAUt4KXKauS5iaTxpK/3QoZxKmSGKa4+i66n50TsetNgbtKszIYnN4D7+CieQjyhrMF tw/AYTxdbChaN/HxNtFHbHXX5XvV6le67hiHYf15m9WeUmvh1j5LsxKMKXQIefZ6ILcM TIajSrcO2lXpVW2KcXtOBBR6xaMyE7JEr0i1Sn+2fyyOrRloyTDbPyxIqlDXo66Z8UYX wd6Ua1FrVoIL6xK2fphpMkQLQivWNFV08SspjdrMV0wpDEBUBhxEDirlC0hkUuUE/15v VZpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:dkim-signature; bh=qqaMuUXOQnUbaJUSlGOoW+SpHQyfrAdRMA0bz+bYUck=; b=MLPh5n1p8VC+hbHJ5CCFObBWEj2TpNhyvMlzHpWxZxdx0XLVlkJv6kYT+O2AHmoW5z pqIREKp7SHsLqOnSvUidklretNZrBaPFBsrnzpz93FWjgnzUuHnIR08OCAYnnxkng0k+ xVYPb+KpW8snj86FNTi6D5HBp3lIICjTogs27EtRXSMJcEqj2kMuzlQIL8js9IVy6j6a MOqc/Fguog+vRdy74miAQwMfzsmTZYzkJZfCOelu3r9blvoUTYzcHax/dzvICFT5yfRQ G8+ZpJrAjb5KlWNI603jZ35J8axxhHDjQZasDznV33In8aSfk+2PmA5tFSBWI2XtT5+K syvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@eInfochipsIndia.onmicrosoft.com header.s=selector1-einfochips-com header.b=FCliAyXZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c23si1108889pgk.54.2019.03.28.22.42.53; Thu, 28 Mar 2019 22:43:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@eInfochipsIndia.onmicrosoft.com header.s=selector1-einfochips-com header.b=FCliAyXZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728415AbfC2FmR (ORCPT + 99 others); Fri, 29 Mar 2019 01:42:17 -0400 Received: from mail-eopbgr1300075.outbound.protection.outlook.com ([40.107.130.75]:11511 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726251AbfC2FmR (ORCPT ); Fri, 29 Mar 2019 01:42:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eInfochipsIndia.onmicrosoft.com; s=selector1-einfochips-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qqaMuUXOQnUbaJUSlGOoW+SpHQyfrAdRMA0bz+bYUck=; b=FCliAyXZ7bB22dRhP5aB31ORAbu2y0bifYNFQ7Y88hlfEDrVZ1+aGj6YFHebTWEfV6ebhoNHXEEIPdmzcVa0hAWTaDIEKf0qh8wQHFNzwJYB3UYF/tQGeDBdHHVep7iRgiWwLpvJ0kyPezLKf/SwdoC1AEVzZml/9k+WHscZ2HY= Received: from SG2PR02MB3098.apcprd02.prod.outlook.com (20.177.88.78) by SG2PR02MB3483.apcprd02.prod.outlook.com (20.177.83.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.18; Fri, 29 Mar 2019 05:42:11 +0000 Received: from SG2PR02MB3098.apcprd02.prod.outlook.com ([fe80::f432:20e4:2d22:e60b]) by SG2PR02MB3098.apcprd02.prod.outlook.com ([fe80::f432:20e4:2d22:e60b%4]) with mapi id 15.20.1730.019; Fri, 29 Mar 2019 05:42:11 +0000 From: Pankaj Suryawanshi To: "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" Subject: Re: Page-allocation-failure Thread-Topic: Page-allocation-failure Thread-Index: AQHU5TnT8N2n2QVx4UqTmvmwHUsWlKYgqix9gAFuUpM= Date: Fri, 29 Mar 2019 05:42:11 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=pankaj.suryawanshi@einfochips.com; x-originating-ip: [14.98.130.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8958369b-f79c-4f76-d65e-08d6b4094a2d x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:SG2PR02MB3483; x-ms-traffictypediagnostic: SG2PR02MB3483:|SG2PR02MB3483: x-microsoft-antispam-prvs: x-forefront-prvs: 0991CAB7B3 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(366004)(39840400004)(136003)(396003)(376002)(199004)(189003)(105586002)(71190400001)(26005)(14444005)(5024004)(55016002)(256004)(78486014)(3480700005)(9686003)(2501003)(2906002)(110136005)(71200400001)(229853002)(53936002)(486006)(476003)(3846002)(25786009)(6436002)(11346002)(446003)(6116002)(86362001)(186003)(52536014)(76176011)(8936002)(53546011)(55236004)(6506007)(81156014)(81166006)(8676002)(44832011)(97736004)(66574012)(99286004)(14454004)(66066001)(102836004)(33656002)(5660300002)(7696005)(7736002)(305945005)(316002)(478600001)(6246003)(74316002)(68736007)(106356001)(586874002);DIR:OUT;SFP:1101;SCL:1;SRVR:SG2PR02MB3483;H:SG2PR02MB3098.apcprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: einfochips.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 4TdIPieUITNsmLlcSCC77A39FfXYknMD1RT5+KMeuDBPzKuldHNJL54VkjK8Pn5X1NZ3WXi0BfKiU315S44vUtU7O3Qmnv4+yCBo+SDcOBMNuqXk86Oo04qw9gnn5tXUoW4LxEqfRUSmBQQXSKMbHVAAQpQNktEAZQVwDkbezTXnKZcB1KaWLclzmhMPYEHNekctLFmOvohYQ+jTiFpW2tmtCh41+U1bQSUS2KE91OevG4Exd/wOg8GGakUYsJBfna9CtJ91c9LBbJYf2k0pWlXkv/HTr357kY7fLDiXrN1KfGrfSmaMD1ylMfrkqm6rAwRxjycIBqwVETHh/Uh8YWxMEsuqYW3B6HzdzFuWBJrdvYqD4d5ipuluQDUUYR7f0B0WcHqkVBiQvt3gtuytDmOsVSX7Y9Yy1SjhYYmSGyI= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: einfochips.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8958369b-f79c-4f76-d65e-08d6b4094a2d X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2019 05:42:11.1266 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0adb040b-ca22-4ca6-9447-ab7b049a22ff X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR02MB3483 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ________________________________________ From: Pankaj Suryawanshi Sent: 28 March 2019 13:17 To: linux-kernel@vger.kernel.org; linux-mm@kvack.org Subject: Re: Page-allocation-failure ________________________________________ From: Pankaj Suryawanshi Sent: 28 March 2019 13:12 To: linux-kernel@vger.kernel.org; linux-mm@kvack.org 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(GF= P_ATOMIC), nodemask=3D(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_n= odemask+0xd70/0x124c) [ 45.073949] r3:00000000 r2:80e090cc [ 45.073952] r6:00000001 r5:00000000 r4:8121696c [ 45.073959] [<80350770>] (__alloc_pages_nodemask) from [<803a6c20>] (all= ocate_slab+0x364/0x3e4) [ 45.073964] r10:00000080 r9:00000000 r8:01081220 r7:ffffffff r6:0000000= 0 r5:01080020 [ 45.073966] r4:bd00d180 [ 45.073971] [<803a68bc>] (allocate_slab) from [<803a8c98>] (___slab_allo= c.constprop.6+0x420/0x4b8) [ 45.073977] r10:00000000 r9:00000000 r8:bd00d180 r7:01080020 r6:8121658= 8 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:bd6e5a6= 8 r5:00000000 [ 45.073991] r4:600f0093 [ 45.073996] [<803a8d30>] (__slab_alloc.constprop.5) from [<803a9058>] (k= mem_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 isola= ted(file):404kB mapped:243884kB dirty:628kB writeback:0kB shmem:740kB write= back_tmp:0kB unstable:0kB all_unreclaimable? no [ 44.966889] DMA free:9348kB min:3772kB low:15684kB high:16624kB active_a= non:420592kB inactive_anon:284kB active_file:155116kB inactive_file:135724k= B unevictable:1592kB writepending:628kB present:928768kB managed:892508kB m= locked:1592kB kernel_stack:9304kB pagetables:23440kB bounce:0kB free_pcp:13= 36kB 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_ano= n:2632kB inactive_anon:284kB active_file:1912kB inactive_file:1732kB unevic= table:796kB writepending:0kB present:1056768kB managed:8192kB mlocked:796kB= kernel_stack:0kB pagetables:180kB bounce:0kB free_pcp:0kB local_pcp:0kB fr= ee_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 =3D 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 =3D 1= 04kB [ 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 =3D 0kB [ 44.966966] Total swap =3D 0kB [ 44.966967] 496384 pages RAM [ 44.966969] 264192 pages HighMem/MovableOnly [ 44.966972] 271209 pages reserved [ 44.966975] 262144 pages cma reserved /proc/sys/vm/min_free_kbytes =3D 3774 Can increasing this value will solved this issue ? Regards, Pankaj ***************************************************************************= ***************************************************************************= ******* eInfochips Business Disclaimer: This e-mail message and all attachm= ents transmitted with it are intended solely for the use of the addressee a= nd may contain legally privileged and confidential information. If the read= er of this message is not the intended recipient, or an employee or agent r= esponsible for delivering this message to the intended recipient, you are h= ereby notified that any dissemination, distribution, copying, or other use = of this message or its attachments is strictly prohibited. If you have rece= ived this message in error, please notify the sender immediately by replyin= g to this message and please delete it from your computer. Any views expres= sed in this message are those of the individual sender unless otherwise sta= ted. Company has taken enough precautions to prevent the spread of viruses.= However the company accepts no liability for any damage caused by any viru= s transmitted by this email. **********************************************= ***************************************************************************= ************************************