Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757780AbaKTXzg (ORCPT ); Thu, 20 Nov 2014 18:55:36 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:47676 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757734AbaKTXza (ORCPT ); Thu, 20 Nov 2014 18:55:30 -0500 MIME-Version: 1.0 In-Reply-To: <20141120233920.GC25393@htj.dyndns.org> References: <20141119225615.GA11386@lerouge> <20141119235033.GE11386@lerouge> <20141120122339.GA14877@htj.dyndns.org> <20141120221122.GA25393@htj.dyndns.org> <20141120230514.GB25393@htj.dyndns.org> <20141120233920.GC25393@htj.dyndns.org> From: Andy Lutomirski Date: Thu, 20 Nov 2014 15:55:09 -0800 Message-ID: Subject: Re: frequent lockups in 3.18rc4 To: Tejun Heo Cc: Thomas Gleixner , Frederic Weisbecker , Linus Torvalds , Dave Jones , Don Zickus , Linux Kernel , "the arch/x86 maintainers" , Peter Zijlstra , Arnaldo Carvalho de Melo Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 20, 2014 at 3:39 PM, Tejun Heo wrote: > On Thu, Nov 20, 2014 at 03:08:03PM -0800, Andy Lutomirski wrote: >> > So, for now, all we need is adding nmi check in percpu accessors, >> > right? >> > >> >> What's the issue with nmi? Page faults are supposed to nest correctly >> inside nmi, right? > > Thought they couldn't. Looking at the trace that Frederic linked, it > looks like straight-out tracing function recursion due to an > unexpected fault while holding a lock. I don't think this can be > annotated from percpu accessor side. There's nothing special about > the context. :( That doesn't appear to have anything to with nmi though, right? Wouldn't this issue be fixed by moving the vmalloc_fault check into do_page_fault before exception_enter? --Andy -- 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/