Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751083AbaLQAlj (ORCPT ); Tue, 16 Dec 2014 19:41:39 -0500 Received: from mail-la0-f52.google.com ([209.85.215.52]:60084 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750821AbaLQAli (ORCPT ); Tue, 16 Dec 2014 19:41:38 -0500 MIME-Version: 1.0 In-Reply-To: References: <20141216192803.GC3337@twins.programming.kicks-ass.net> <20141216211921.GA2395@suse.de> <20141216230246.GA30905@twins.programming.kicks-ass.net> From: Andy Lutomirski Date: Tue, 16 Dec 2014 16:41:16 -0800 Message-ID: Subject: Re: frequent lockups in 3.18rc4 To: Linus Torvalds , Konrad Rzeszutek Wilk Cc: Peter Zijlstra , Mel Gorman , Thomas Gleixner , Steven Rostedt , Tejun Heo , "linux-kernel@vger.kernel.org" , Arnaldo Carvalho de Melo , Frederic Weisbecker , Don Zickus , Dave Jones , "the arch/x86 maintainers" 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 Tue, Dec 16, 2014 at 4:00 PM, Linus Torvalds wrote: > On Tue, Dec 16, 2014 at 3:02 PM, Peter Zijlstra wrote: >> >> OK, should we just stick it in the x86 tree and see if anything >> explodes? ;-) > > Gaah, I got confused about the patches. > > And something did explode, it showed some Xen nasties. Xen has that > odd "we don't share PMD entries between MM's" thing going on, which > means that the vmalloc fault thing does actually have to occasionally > walk two levels rather than just copy the top level. I'm still not > sure why Xen doesn't share PMD's, since threads that shame the MM > clearly can share PMD's within Xen, but I gave up on it. Sounds like it's time to ask Konrad, the source of all Xen understanding :) Linus, do you have a pointer to whatever version of the patch you tried? --Andy > > That said, making x86-64 use "read_cr3()" instead of > "current->active_mm" would at least make things a bit safer wrt NMI's > during the task switch, of course. So *some* 32/64-bit consolidation > should be done, but my patch went a bit too far for Xen. > > Linus -- Andy Lutomirski AMA Capital Management, LLC -- 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/