Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755460AbbLANeh (ORCPT ); Tue, 1 Dec 2015 08:34:37 -0500 Received: from LGEAMRELO11.lge.com ([156.147.23.51]:53745 "EHLO lgeamrelo11.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753918AbbLANef (ORCPT ); Tue, 1 Dec 2015 08:34:35 -0500 X-Original-SENDERIP: 156.147.1.151 X-Original-MAILFROM: minchan@kernel.org X-Original-SENDERIP: 165.244.98.204 X-Original-MAILFROM: minchan@kernel.org X-Original-SENDERIP: 10.177.223.161 X-Original-MAILFROM: minchan@kernel.org Date: Tue, 1 Dec 2015 22:34:55 +0900 From: Minchan Kim To: Andrew Morton , "Kirill A. Shutemov" , Michal Hocko , Johannes Weiner CC: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: memcg uncharge page counter mismatch Message-ID: <20151201133455.GB27574@bbox> MIME-Version: 1.0 User-Agent: Mutt/1.5.21 (2010-09-15) X-MIMETrack: Itemize by SMTP Server on LGEKRMHUB03/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2015/12/01 22:34:32, Serialize by Router on LGEKRMHUB03/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2015/12/01 22:34:32, Serialize complete at 2015/12/01 22:34:32 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: 1927 Lines: 41 With new test on mmotm-2015-11-25-17-08, I saw below WARNING message several times. I couldn't see it with reverting new THP refcount redesign. I will try to make reproducer when I have a time but not sure. Before that, I hope someone catches it up. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 1340 at mm/page_counter.c:26 page_counter_cancel+0x34/0x40() Modules linked in: CPU: 0 PID: 1340 Comm: madvise_test Not tainted 4.4.0-rc2-mm1-kirill+ #12 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 ffffffff81782eeb ffff880072b97be8 ffffffff8126f476 0000000000000000 ffff880072b97c20 ffffffff8103e476 ffff88006b35d0b0 00000000000001fe 0000000000000000 00000000000001fe ffff88006b35d000 ffff880072b97c30 Call Trace: [] dump_stack+0x44/0x5e [] warn_slowpath_common+0x86/0xc0 [] warn_slowpath_null+0x1a/0x20 [] page_counter_cancel+0x34/0x40 [] page_counter_uncharge+0x22/0x30 [] uncharge_batch+0x47/0x140 [] uncharge_list+0x123/0x190 [] mem_cgroup_uncharge_list+0x1b/0x20 [] release_pages+0xdb/0x350 [] free_pages_and_swap_cache+0x9d/0x120 [] tlb_flush_mmu_free+0x36/0x60 [] tlb_finish_mmu+0x1c/0x50 [] exit_mmap+0xd8/0x130 [] mmput+0x56/0xe0 [] do_exit+0x1fd/0xaa0 [] do_group_exit+0x3f/0xb0 [] SyS_exit_group+0x14/0x20 [] entry_SYSCALL_64_fastpath+0x12/0x6a ---[ end trace 7864cf719fb83e12 ]--- -- 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/