Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751974AbdFFMa0 (ORCPT ); Tue, 6 Jun 2017 08:30:26 -0400 Received: from muru.com ([72.249.23.125]:50570 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751880AbdFFMaY (ORCPT ); Tue, 6 Jun 2017 08:30:24 -0400 Date: Tue, 6 Jun 2017 05:30:10 -0700 From: Tony Lindgren To: Johannes Weiner Cc: Russell King - ARM Linux , Andrew Morton , Josef Bacik , Michal Hocko , Vladimir Davydov , Rik van Riel , Mark Brown , linux-kernel@vger.kernel.org Subject: Re: Regression on ARMs in next-20170531 Message-ID: <20170606123009.GB3730@atomide.com> References: <20170531164544.GF3730@atomide.com> <20170531174333.GA27796@n2100.armlinux.org.uk> <20170604113257.GA1095@cmpxchg.org> <20170606055516.GR3730@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170606055516.GR3730@atomide.com> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2982 Lines: 59 * Tony Lindgren [170605 22:55]: > * Johannes Weiner [170604 04:36]: > > I think it's NULL because the slab allocation happens before even the > > root_mem_cgroup is set up, and so root_mem_cgroup -> lruvec -> pgdat > > gives us garbage. > > > > Tony, Josef, since the patches are dropped from -next, could you test > > the -mm tree at git://git.cmpxchg.org/linux-mmots.git and verify that > > this patch below fixes the issue? > > Looks like next-20170605 is broken for ARMs again.. And the patch > below does not apply for me against mmots/master or next. > Care to update? Oh I got it to apply on next-20170605, I must have had something else applied causing issues on earlyer attempt. Now I'm getting the following error. Regards, Tony 8< ----------------- Unable to handle kernel paging request at virtual address 2ea2d007 pgd = c0004000 [2ea2d007] *pgd=00000000 Internal error: Oops: 5 [#1] SMP ARM Modules linked in: CPU: 0 PID: 0 Comm: swapper Not tainted 4.12.0-rc3-next-20170605+ #1227 Hardware name: Generic OMAP4 (Flattened Device Tree) task: c0d0ae00 task.stack: c0d00000 PC is at __mod_node_page_state+0x2c/0xc8 LR is at __per_cpu_offset+0x0/0x8 pc : [] lr : [] psr: 200001d3 sp : c0d01eec ip : 00000000 fp : 00000001 r10: c0c7cf68 r9 : 00008000 r8 : 00000000 r7 : 00000001 r6 : 00000006 r5 : 2ea2d000 r4 : 00000007 r3 : 00000007 r2 : 00000001 r1 : 00000006 r0 : c0dc1fc0 Flags: nzCv IRQs off FIQs off Mode SVC_32 ISA ARM Segment none Control: 10c5387d Table: 8000404a DAC: 00000051 Process swapper (pid: 0, stack limit = 0xc0d00218) Stack: (0xc0d01eec to 0xc0d02000) 1ee0: 400001d3 c0dc1fc0 c028018c 00000001 c1599440 1f00: c0d58834 efd83000 00000000 c02af214 01000000 c157a890 00002000 00008000 1f20: 00000001 00000001 00008000 c02aeb4c 00000000 00008000 c0d58834 00008000 1f40: 01008000 c0c23a88 c0d58834 c1580034 400001d3 c02afa9c 00000000 c086b230 1f60: c0d58834 000000c0 01000000 c157a78c c0abe0fc 00000080 00002000 c0dd4000 1f80: efffec40 c0c55a48 00000000 c0c23a88 c157a78c c0c5be48 c0c5bde8 c157a890 1fa0: c0dd4000 c0c25a9c 00000000 ffffffff c0dd4000 c0d07940 c0dd4000 c0c00abc 1fc0: ffffffff ffffffff 00000000 c0c006a0 00000000 c0c55a48 c0dd4214 c0d07958 1fe0: c0c55a44 c0d0cae4 8000406a 411fc093 00000000 8000807c 00000000 00000000 [] (__mod_node_page_state) from [] (mod_node_page_state+0x2c/0x4c) [] (mod_node_page_state) from [] (cache_alloc_refill+0x654/0x898) [] (cache_alloc_refill) from [] (kmem_cache_alloc+0x2d4/0x364) [] (kmem_cache_alloc) from [] (create_kmalloc_cache+0x20/0x8c) [] (create_kmalloc_cache) from [] (kmem_cache_init+0xac/0x11c) [] (kmem_cache_init) from [] (start_kernel+0x1b8/0x3d8) [] (start_kernel) from [<8000807c>] (0x8000807c) Code: e79e5103 e28c3001 e0833001 e1a04003 (e19440d5)