From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 955D27F53 for ; Fri, 13 Jun 2014 01:27:02 -0500 (CDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay2.corp.sgi.com (Postfix) with ESMTP id 72119304051 for ; Thu, 12 Jun 2014 23:27:02 -0700 (PDT) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id V7XFVyI3mxO8z6bp for ; Thu, 12 Jun 2014 23:26:59 -0700 (PDT) Date: Fri, 13 Jun 2014 16:26:45 +1000 From: Dave Chinner Subject: Re: XFS WARN_ON in xfs_vm_writepage Message-ID: <20140613062645.GZ9508@dastard> References: <20140613051631.GA9394@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20140613051631.GA9394@redhat.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dave Jones , xfs@oss.sgi.com, Linux Kernel Cc: linux-mm@kvack.org [cc linux-mm] On Fri, Jun 13, 2014 at 01:16:31AM -0400, Dave Jones wrote: > Just hit this on Linus' tree from earlier this afternoon.. > > WARNING: CPU: 3 PID: 19721 at fs/xfs/xfs_aops.c:971 xfs_vm_writepage+0x5ce/0x630 [xfs]() > CPU: 3 PID: 19721 Comm: trinity-c61 Not tainted 3.15.0+ #3 > 0000000000000009 000000004f70ab82 ffff8801d5ebf578 ffffffff8373215c > 0000000000000000 ffff8801d5ebf5b0 ffffffff8306f7cd ffff88023dd543e0 > ffffea000254a3c0 ffff8801d5ebf820 ffffea000254a3e0 ffff8801d5ebf728 > Call Trace: > [] dump_stack+0x4e/0x7a > [] warn_slowpath_common+0x7d/0xa0 > [] warn_slowpath_null+0x1a/0x20 > [] xfs_vm_writepage+0x5ce/0x630 [xfs] > [] ? preempt_count_sub+0xab/0x100 > [] ? __percpu_counter_add+0x85/0xc0 > [] shrink_page_list+0x8f9/0xb90 > [] shrink_inactive_list+0x253/0x510 > [] shrink_lruvec+0x563/0x6c0 > [] shrink_zone+0x3b/0x100 > [] shrink_zones+0x1f1/0x3c0 > [] try_to_free_pages+0x164/0x380 > [] __alloc_pages_nodemask+0x822/0xc90 > [] ? pagevec_lru_move_fn+0x122/0x140 > [] alloc_pages_vma+0xaf/0x1c0 > [] handle_mm_fault+0xa31/0xc50 > [] ? follow_page_mask+0x1f0/0x320 > [] __get_user_pages+0x22b/0x660 > [] ? kmem_cache_alloc+0x183/0x210 > [] __mlock_vma_pages_range+0x9e/0xd0 > [] __mm_populate+0xca/0x180 > [] vm_mmap_pgoff+0xd3/0xe0 > [] SyS_mmap_pgoff+0x116/0x2c0 > [] ? syscall_trace_enter+0x14d/0x2a0 > [] SyS_mmap+0x22/0x30 > [] tracesys+0xdd/0xe2 > > > 970 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == > 971 PF_MEMALLOC)) What were you running at the time? The XFS warning is there to indicate that memory reclaim is doing something it shouldn't (i.e. dirty page writeback from direct reclaim), so this is one for the mm folk to work out... Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs