Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751421AbbKPKcY (ORCPT ); Mon, 16 Nov 2015 05:32:24 -0500 Received: from LGEAMRELO11.lge.com ([156.147.23.51]:51261 "EHLO lgeamrelo11.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750865AbbKPKcW (ORCPT ); Mon, 16 Nov 2015 05:32:22 -0500 X-Original-SENDERIP: 156.147.1.125 X-Original-MAILFROM: minchan@kernel.org X-Original-SENDERIP: 165.244.98.76 X-Original-MAILFROM: minchan@kernel.org X-Original-SENDERIP: 10.177.223.161 X-Original-MAILFROM: minchan@kernel.org Date: Mon, 16 Nov 2015 19:32:20 +0900 From: Minchan Kim To: "Kirill A. Shutemov" CC: Hugh Dickins , Sasha Levin , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Rik van Riel , Mel Gorman , Michal Hocko , Johannes Weiner , Vlastimil Babka Subject: Re: kernel oops on mmotm-2015-10-15-15-20 Message-ID: <20151116103220.GA32578@bbox> References: <20151103030258.GJ17906@bbox> <20151103071650.GA21553@node.shutemov.name> <20151103073329.GL17906@bbox> <20151103152019.GM17906@bbox> <20151104142135.GA13303@node.shutemov.name> <20151105001922.GD7357@bbox> <20151108225522.GA29600@node.shutemov.name> <20151112003614.GA5235@bbox> <20151116014521.GA7973@bbox> <20151116084522.GA9778@node.shutemov.name> MIME-Version: 1.0 In-Reply-To: <20151116084522.GA9778@node.shutemov.name> User-Agent: Mutt/1.5.21 (2010-09-15) X-MIMETrack: Itemize by SMTP Server on LGEKRMHUB04/LGE/LG Group(Release 8.5.3FP3HF583 | August 9, 2013) at 2015/11/16 19:32:19, Serialize by Router on LGEKRMHUB04/LGE/LG Group(Release 8.5.3FP3HF583 | August 9, 2013) at 2015/11/16 19:32:20, Serialize complete at 2015/11/16 19:32:20 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3920 Lines: 82 On Mon, Nov 16, 2015 at 10:45:22AM +0200, Kirill A. Shutemov wrote: > On Mon, Nov 16, 2015 at 10:45:21AM +0900, Minchan Kim wrote: > > During the test with MADV_FREE on kernel I applied your patches, > > I couldn't see any problem. > > > > However, in this round, I did another test which is same one > > I attached but a liitle bit different because it doesn't do > > (memcg things/kill/swapoff) for testing program long-live test. > > Could you share updated test? It's part of my testing suite so I should factor it out. I will send it when I go to office tomorrow. > > And could you try to reproduce it on clean mmotm-2015-11-10-15-53? Befor leaving office, I queued it up and result is below. It seems you fixed already but didn't apply it to mmotm yet. Right? Anyway, please confirm and say to me what I should add more patches into mmotm-2015-11-10-15-53 for follow up your recent many bug fix patches. Thanks. page:ffffea0000553fc0 count:3 mapcount:1 mapping:ffff88007f717a01 index:0x6000002ff flags: 0x4000000000048019(locked|uptodate|dirty|swapcache|swapbacked) page dumped because: VM_BUG_ON_PAGE(PageAnon(page) && !PageKsm(page) && !anon_vma) page->mem_cgroup:ffff880077cf0c00 ------------[ cut here ]------------ kernel BUG at mm/migrate.c:889! invalid opcode: 0000 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 10 PID: 59 Comm: khugepaged Not tainted 4.3.0-mm1-kirill+ #7 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 task: ffff880073441a40 ti: ffff88007344c000 task.ti: ffff88007344c000 RIP: 0010:[] [] migrate_pages+0x8e6/0x950 RSP: 0018:ffff88007344fa00 EFLAGS: 00010282 RAX: 0000000000000021 RBX: ffffea0001a0bbc0 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000246 RDI: ffffffff821df4d8 RBP: ffff88007344fa80 R08: 0000000000000000 R09: ffff8800000b9540 R10: ffffffff8163e2c0 R11: 00000000000002c2 R12: 0000000000000000 R13: ffffea0000553f80 R14: ffffea0000553fc0 R15: ffffffff8189db40 FS: 0000000000000000(0000) GS:ffff880078340000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 00007f45cc0091d8 CR3: 000000007eba7000 CR4: 00000000000006a0 Stack: ffff880073441a40 0000000000000000 0000000000000000 0000000000000000 ffffffff81114880 0000000000000000 ffffffff81116420 ffffea0000553fe0 ffff88007344fb30 ffff88007344fb20 0000000000000000 ffff88007344fb20 Call Trace: [] ? trace_raw_output_mm_compaction_defer_template+0xc0/0xc0 [] ? isolate_freepages_block+0x3d0/0x3d0 [] compact_zone+0x2bb/0x720 [] ? list_del+0xd/0x30 [] compact_zone_order+0x6d/0xa0 [] try_to_compact_pages+0xed/0x200 [] __alloc_pages_direct_compact+0x3b/0xd4 [] __alloc_pages_nodemask+0x3fb/0x920 [] khugepaged+0x155/0x1b10 [] ? prepare_to_wait_event+0xf0/0xf0 [] ? __split_huge_pmd_locked+0x4e0/0x4e0 [] kthread+0xc9/0xe0 [] ? kthread_park+0x60/0x60 [] ret_from_fork+0x3f/0x70 [] ? kthread_park+0x60/0x60 Code: 44 c6 48 8b 40 08 83 e0 03 48 83 f8 03 0f 84 fd fa ff ff 4d 85 e4 0f 85 f4 fa ff ff 48 c7 c6 b8 f6 77 81 4c 89 f7 e8 fa 36 fd ff <0f> 0b 48 83 e8 01 e9 d0 fa ff ff f6 40 07 01 0f 84 5b fd ff ff RIP [] migrate_pages+0x8e6/0x950 RSP ---[ end trace 337555313b7e45be ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/