From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755276AbdKAUdy (ORCPT ); Wed, 1 Nov 2017 16:33:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:35460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752395AbdKAUdw (ORCPT ); Wed, 1 Nov 2017 16:33:52 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 59FB6218D2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=luto@kernel.org X-Google-Smtp-Source: ABhQp+SsQlOt8WfKu8phQm02+m96yE/ksiHtKx1brgJxIVeC6wTy5yZ3fD7M6+u5sbr8awQlPMalFmGuzftGfC6+pfk= MIME-Version: 1.0 In-Reply-To: References: <20171031223146.6B47C861@viggo.jf.intel.com> <9e45a167-3528-8f93-80bf-c333ae6acb71@linux.intel.com> <8bacac66-7d3e-b15d-a73b-92c55c0b1908@linux.intel.com> <5005a38e-4dbf-d302-9a82-97c92d0f8f07@linux.intel.com> From: Andy Lutomirski Date: Wed, 1 Nov 2017 13:33:31 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/23] KAISER: unmap most of the kernel from userspace page tables To: Linus Torvalds Cc: Dave Hansen , Andy Lutomirski , Linux Kernel Mailing List , linux-mm , Kees Cook , Hugh Dickins 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 1, 2017 at 12:05 PM, Linus Torvalds wrote: > On Wed, Nov 1, 2017 at 11:46 AM, Dave Hansen > wrote: >> >> The vmalloc()'d stacks definitely need the page table walk. > > Ugh, yes. Nasty. > > Andy at some point mentioned a per-cpu initial stack trampoline thing > for his exception patches, but I'm not sure he actually ever did that. > > Andy? I'm going to push it to kernel.org very shortly (like twenty minutes maybe). Then the 0day bot can chew on it. With the proposed LDT rework, we don't need to do any of dynamic mapping stuff, I think. > > Linus