From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755224AbdKBHcj (ORCPT ); Thu, 2 Nov 2017 03:32:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:34368 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755146AbdKBHci (ORCPT ); Thu, 2 Nov 2017 03:32:38 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 914962194A 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+Sn990Ea3k2PxbCG5BMikElUfj0NccLAXxjZm8vavo7hnw5HYHI86G3AlNockgSGixxh+jYj9ZgqbPU8Qqzvgg= 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: Thu, 2 Nov 2017 00:32:16 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/23] KAISER: unmap most of the kernel from userspace page tables To: Andy Lutomirski Cc: Linus Torvalds , Dave Hansen , 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 1:33 PM, Andy Lutomirski wrote: > 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. FWIW, I pushed all but the actual stack switching part. Something broke in the rebase and it doesn't boot right now :(