From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753081AbbBKN4J (ORCPT ); Wed, 11 Feb 2015 08:56:09 -0500 Received: from mga02.intel.com ([134.134.136.20]:9574 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752631AbbBKN4H (ORCPT ); Wed, 11 Feb 2015 08:56:07 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,558,1418112000"; d="scan'208";a="664848142" From: "Kirill A. Shutemov" To: Huang Ying Cc: "Kirill A. Shutemov" , Stephen Rothwell , LKML , LKP ML In-Reply-To: <1423642630.5968.106.camel@intel.com> References: <1423642630.5968.106.camel@intel.com> Subject: RE: [LKP] [mm] BUG: non-zero nr_pmds on freeing mm: 1 Content-Transfer-Encoding: 7bit Message-Id: <20150211135603.9871B5CF@black.fi.intel.com> Date: Wed, 11 Feb 2015 15:56:03 +0200 (EET) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Huang Ying wrote: > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > commit b9be2e58a872e5e35fda4420412bfd91f318d61f ("mm: fix false-positive warning on exit due mm_nr_pmds(mm)") > > > <3>[ 16.254878] netconsole: cleaning up > <6>[ 76.466676] ipmi message handler version 39.2 > <6>[ 76.468701] IPMI Watchdog: driver initialized > <1>[ 105.591430] BUG: non-zero nr_pmds on freeing mm: 1 > <1>[ 135.594498] BUG: non-zero nr_pmds on freeing mm: 1BUG: non-zero nr_pmds on freeing mm: 1 > <1>[ 205.604998] BUG: non-zero nr_pmds on freeing mm: 3BUG: non-zero nr_pmds on freeing mm: 1 > <1>[ 245.609425] BUG: non-zero nr_pmds on freeing mm: 2BUG: non-zero nr_pmds on freeing mm: 1 > <1>[ 445.635558] BUG: non-zero nr_pmds on freeing mm: 2BUG: non-zero nr_pmds on freeing mm: 2 > <1>[ 605.658279] BUG: non-zero nr_pmds on freeing mm: 1BUG: non-zero nr_pmds on freeing mm: 1 > <1>[ 745.680260] BUG: non-zero nr_pmds on freeing mm: 1BUG: non-zero nr_pmds on freeing mm: 1 > <1>[ 795.684046] BUG: non-zero nr_pmds on freeing mm: 3BUG: non-zero nr_pmds on freeing mm: 1 > <1>[ 845.691826] BUG: non-zero nr_pmds on freeing mm: 1BUG: non-zero nr_pmds on freeing mm: 1 > <1>[ 925.703683] BUG: non-zero nr_pmds on freeing mm: 2BUG: non-zero nr_pmds on freeing mm: 1 > <1>[ 945.706399] BUG: non-zero nr_pmds on freeing mm: 1BUG: non-zero nr_pmds on freeing mm: 1 > <1>[ 985.712821] BUG: non-zero nr_pmds on freeing mm: 1 > > > It appears that there is similar WARNING for the parent commit as in attached parent-dmesg. > > <4>[ 109.080761] ------------[ cut here ]------------ > <4>[ 109.080990] WARNING: CPU: 2 PID: 1917 at mm/mmap.c:2858 exit_mmap+0x18e/0x190() > <4>[ 109.081402] Modules linked in: ipmi_watchdog ipmi_msghandler sg sr_mod sd_mod cdrom ata_generic pata_acpi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm pata_marvell coretemp kvm_intel ppdev mxm_wmi kvm ahci libahci firewire_ohci firewire_core pcspkr serio_raw snd_timer crc32c_intel winbond_cir libata snd i7core_edac i2c_i801 crc_itu_t microcode soundcore edac_core shpchp rc_core parport_pc parport wmi acpi_cpufreq > <4>[ 109.084601] CPU: 2 PID: 1917 Comm: ebizzy Tainted: G I 3.19.0-rc7-00176-g2137340 #1 > <4>[ 109.084989] Hardware name: /DX58SO, BIOS SOX5810J.86A.4196.2009.0715.1958 07/15/2009 > <4>[ 109.085404] ffffffff81b88580 ffff8800bb353d98 ffffffff818a392a ffff8800bf2500f8 > <4>[ 109.085871] 0000000000000000 ffff8800bb353dd8 ffffffff8107261a 0000000000000297 > <4>[ 109.086343] 000000000000256b ffff8800babf0000 00007fcf77d13c60 ffff8800babf0000 > <4>[ 109.086808] Call Trace: > <4>[ 109.086954] [] dump_stack+0x4c/0x65 > <4>[ 109.087194] [] warn_slowpath_common+0x8a/0xc0 > <4>[ 109.087469] [] warn_slowpath_null+0x1a/0x20 > <4>[ 109.087733] [] exit_mmap+0x18e/0x190 > <4>[ 109.087975] [] mmput+0x7b/0x110 > <4>[ 109.088201] [] do_exit+0x2c0/0xae0 > <4>[ 109.088443] [] ? vfs_write+0x15c/0x1f0 > <4>[ 109.088692] [] do_group_exit+0x47/0xc0 > <4>[ 109.088938] [] SyS_exit_group+0x14/0x20 > <4>[ 109.089189] [] system_call_fastpath+0x12/0x17 > <4>[ 109.089464] ---[ end trace 3ad78d7b0f8692e0 ]--- It's already fixed in -mm tree. See http://article.gmane.org/gmane.linux.kernel.mm/128443