From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) by kanga.kvack.org (Postfix) with ESMTP id B3B066B0253 for ; Tue, 22 Sep 2015 14:44:48 -0400 (EDT) Received: by iofh134 with SMTP id h134so23586642iof.0 for ; Tue, 22 Sep 2015 11:44:48 -0700 (PDT) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com. [2607:f8b0:4001:c06::22d]) by mx.google.com with ESMTPS id l86si3758900ioi.106.2015.09.22.11.44.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Sep 2015 11:44:48 -0700 (PDT) Received: by iofb144 with SMTP id b144so23644731iof.1 for ; Tue, 22 Sep 2015 11:44:47 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1442903021-3893-1-git-send-email-mingo@kernel.org> <1442903021-3893-6-git-send-email-mingo@kernel.org> Date: Tue, 22 Sep 2015 11:44:47 -0700 Message-ID: Subject: Re: [PATCH 05/11] mm: Introduce arch_pgd_init_late() From: Linus Torvalds Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Andy Lutomirski Cc: Ingo Molnar , Linux Kernel Mailing List , linux-mm , Andrew Morton , Denys Vlasenko , Brian Gerst , Peter Zijlstra , Borislav Petkov , "H. Peter Anvin" , Oleg Nesterov , Waiman Long , Thomas Gleixner On Tue, Sep 22, 2015 at 11:37 AM, Andy Lutomirski wrote: > kinds of mess. > > I don't think that anyone really wants to move #PF to IST, which means > that we simply cannot handle vmalloc faults that happen when switching > stacks after SYSCALL, no matter what fanciness we shove into the > page_fault asm. But that's fine. The kernel stack is special. So yes, we want to make sure that the kernel stack is always mapped in the thread whose stack it is. But that's not a big and onerous guarantee to make. Not when the *real* problem is "random vmalloc allocations made by other processes that we are not in the least interested in, and we don't want to add synchronization for". Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org