Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756531AbaKTAkw (ORCPT ); Wed, 19 Nov 2014 19:40:52 -0500 Received: from mail-vc0-f174.google.com ([209.85.220.174]:37242 "EHLO mail-vc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753629AbaKTAku (ORCPT ); Wed, 19 Nov 2014 19:40:50 -0500 MIME-Version: 1.0 In-Reply-To: References: <20141118145234.GA7487@redhat.com> <20141118215540.GD35311@redhat.com> <20141119021902.GA14216@redhat.com> <20141119145902.GA13387@redhat.com> <20141119190215.GA10796@lerouge> <20141119225615.GA11386@lerouge> Date: Wed, 19 Nov 2014 16:40:49 -0800 X-Google-Sender-Auth: MJnQxOZlza18z_Yv1dVxDnMkIsY Message-ID: Subject: Re: frequent lockups in 3.18rc4 From: Linus Torvalds To: Andy Lutomirski Cc: Thomas Gleixner , "linux-kernel@vger.kernel.org" , Arnaldo Carvalho de Melo , Peter Zijlstra , 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 Wed, Nov 19, 2014 at 4:30 PM, Andy Lutomirski wrote: > > This is why I think that the grsec kernels will crash on very large > memory systems. They don't seem to get this right for the kernel > stack, and a page fault trying to access the stack is a big no-no. For something like a stack, that's trivial, you could just probe it before the actual task switch. So I wouldn't worry about the kernel stack itself (although I think vmallocing it isn't likely worth it), I'd worry more about some other random dynamic percpu allocation. Although they arguably shouldn't happen for low-level code that cannot handle the dynamic pgd-population. And they generally don't. It's really tracing that tends to be a special case not because of any particular low-level code issue, but because instrumenting itself recursively tends to be a bad idea. Linus -- 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/