Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756828Ab2EaA5u (ORCPT ); Wed, 30 May 2012 20:57:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33243 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754583Ab2EaA5s (ORCPT ); Wed, 30 May 2012 20:57:48 -0400 Date: Wed, 30 May 2012 20:57:40 -0400 From: Dave Jones To: Linux Kernel Cc: linux-mm@kvack.org, Andrew Morton Subject: Re: WARNING: at mm/page-writeback.c:1990 __set_page_dirty_nobuffers+0x13a/0x170() Message-ID: <20120531005739.GA4532@redhat.com> Mail-Followup-To: Dave Jones , Linux Kernel , linux-mm@kvack.org, Andrew Morton References: <20120530163317.GA13189@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120530163317.GA13189@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5220 Lines: 84 On Wed, May 30, 2012 at 12:33:17PM -0400, Dave Jones wrote: > Just saw this on Linus tree as of 731a7378b81c2f5fa88ca1ae20b83d548d5613dc > > WARNING: at mm/page-writeback.c:1990 __set_page_dirty_nobuffers+0x13a/0x170() > Modules linked in: ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_CHECKSUM iptable_mangle bridge stp llc ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables snd_emu10k1 snd_util_mem snd_ac97_codec ac97_bus snd_hwdep snd_rawmidi snd_seq_device snd_pcm microcode snd_page_alloc pcspkr snd_timer snd lpc_ich i2c_i801 mfd_core e1000e soundcore vhost_net tun macvtap macvlan kvm_intel nfsd kvm nfs_acl auth_rpcgss lockd sunrpc btrfs libcrc32c zlib_deflate firewire_ohci firewire_core sata_sil crc_itu_t floppy radeon i2c_algo_bit drm_kms_helper ttm drm i2c_core [last unloaded: scsi_wait_scan] > Pid: 35, comm: khugepaged Not tainted 3.4.0+ #75 > Call Trace: > [] warn_slowpath_common+0x7f/0xc0 > [] warn_slowpath_null+0x1a/0x20 > [] __set_page_dirty_nobuffers+0x13a/0x170 > [] migrate_page_copy+0x1e2/0x260 > [] migrate_page+0x5b/0x70 > [] move_to_new_page+0xa5/0x260 > [] migrate_pages+0x4c8/0x540 > [] ? suitable_migration_target.isra.15+0x1d0/0x1d0 > [] compact_zone+0x216/0x480 > [] ? debug_check_no_obj_freed+0x88/0x210 > [] compact_zone_order+0x8d/0xd0 > [] try_to_compact_pages+0xc9/0x140 > [] __alloc_pages_direct_compact+0xaa/0x1d0 > [] __alloc_pages_nodemask+0x60b/0xab0 > [] ? debug_check_no_obj_freed+0x16c/0x210 > [] alloc_pages_vma+0xb6/0x190 > [] khugepaged+0x95d/0x1570 > [] ? wake_up_bit+0x40/0x40 > [] ? collect_mm_slot+0xa0/0xa0 > [] kthread+0xb7/0xc0 > [] kernel_thread_helper+0x4/0x10 > [] ? retint_restore_args+0xe/0xe > [] ? flush_kthread_worker+0x190/0x190 > [] ? gs_change+0xb/0xb Seems this can be triggered from mmap, as well as from khugepaged.. WARNING: at mm/page-writeback.c:1990 __set_page_dirty_nobuffers+0x13a/0x170() Modules linked in: tun dccp_ipv4 dccp nfnetlink sctp libcrc32c fuse ipt_ULOG binfmt_misc caif_socket caif phonet bluetooth rfkill can llc2 pppoe pppox ppp_generic slhc irda crc_ccitt rds af_key decnet rose x25 atm netrom appletalk ipx p8023 psnap p8022 llc ax25 ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables kvm_intel kvm crc32c_intel ghash_clmulni_intel serio_raw microcode pcspkr i2c_i801 usb_debug lpc_ich mfd_core e1000e nfsd nfs_acl auth_rpcgss lockd sunrpc i915 video i2c_algo_bit drm_kms_helper drm i2c_core [last unloaded: scsi_wait_scan] Pid: 1171, comm: trinity-child4 Not tainted 3.4.0+ #38 Call Trace: [] warn_slowpath_common+0x7f/0xc0 [] warn_slowpath_null+0x1a/0x20 [] __set_page_dirty_nobuffers+0x13a/0x170 [] migrate_page_copy+0x1e2/0x260 [] migrate_page+0x5b/0x70 [] move_to_new_page+0xa5/0x260 [] migrate_pages+0x4c8/0x540 [] ? suitable_migration_target.isra.15+0x1d0/0x1d0 [] compact_zone+0x216/0x480 [] ? trace_hardirqs_off_caller+0x28/0xc0 [] compact_zone_order+0x8d/0xd0 [] ? get_page_from_freelist+0x565/0x970 [] try_to_compact_pages+0xc9/0x140 [] __alloc_pages_direct_compact+0xaa/0x1d0 [] __alloc_pages_nodemask+0x60b/0xab0 [] ? trace_hardirqs_off_caller+0x28/0xc0 [] ? __lock_acquire+0x2b0/0x1aa0 [] alloc_pages_vma+0xb6/0x190 [] do_huge_pmd_anonymous_page+0x133/0x310 [] handle_mm_fault+0x242/0x2e0 [] __get_user_pages+0x142/0x560 [] ? mmap_region+0x3f8/0x630 [] get_user_pages+0x52/0x60 [] make_pages_present+0x92/0xc0 [] mmap_region+0x3a6/0x630 [] ? do_setitimer+0x1cc/0x310 [] do_mmap_pgoff+0x35d/0x3b0 [] ? sys_mmap_pgoff+0x66/0x240 [] sys_mmap_pgoff+0x84/0x240 [] ? trace_hardirqs_on_thunk+0x3a/0x3f [] sys_mmap+0x22/0x30 [] system_call_fastpath+0x16/0x1b ---[ end trace 336c91f371296e41 ]--- I'd bisect this, but it takes a few hours to trigger, which makes it hard to distinguish between 'good kernel' and 'hasn't triggered yet'. Dave -- 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/