From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751379AbeBVTTO (ORCPT ); Thu, 22 Feb 2018 14:19:14 -0500 Received: from mga01.intel.com ([192.55.52.88]:15313 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750816AbeBVTTN (ORCPT ); Thu, 22 Feb 2018 14:19:13 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,378,1515484800"; d="scan'208";a="19690022" Subject: Re: Use higher-order pages in vmalloc To: Andy Lutomirski , Michal Hocko References: <151670492223.658225.4605377710524021456.stgit@buzz> <151670493255.658225.2881484505285363395.stgit@buzz> <20180221154214.GA4167@bombadil.infradead.org> <20180221170129.GB27687@bombadil.infradead.org> <20180222065943.GA30681@dhcp22.suse.cz> <20180222122254.GA22703@bombadil.infradead.org> <20180222133643.GJ30681@dhcp22.suse.cz> Cc: Matthew Wilcox , Konstantin Khlebnikov , LKML , Christoph Hellwig , Linux-MM , Andrew Morton , "Kirill A. Shutemov" From: Dave Hansen Message-ID: Date: Thu, 22 Feb 2018 11:19:10 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/22/2018 11:01 AM, Andy Lutomirski wrote: > On x86, if you shoot down the PTE for the current stack, you're dead. *If* we were to go do this insanity for vmalloc()'d memory, we could probably limit it to kswapd, and also make sure that kernel threads don't get vmalloc()'d stacks or that we mark them in a way to say we never muck with them.