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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f72.google.com (mail-pl0-f72.google.com [209.85.160.72]) by kanga.kvack.org (Postfix) with ESMTP id 875436B0003 for ; Thu, 22 Feb 2018 14:19:14 -0500 (EST) Received: by mail-pl0-f72.google.com with SMTP id m6so2716574plt.14 for ; Thu, 22 Feb 2018 11:19:14 -0800 (PST) Received: from mga14.intel.com (mga14.intel.com. [192.55.52.115]) by mx.google.com with ESMTPS id p12si402758pgq.315.2018.02.22.11.19.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 11:19:13 -0800 (PST) Subject: Re: Use higher-order pages in vmalloc 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> From: Dave Hansen Message-ID: Date: Thu, 22 Feb 2018 11:19:10 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Andy Lutomirski , Michal Hocko Cc: Matthew Wilcox , Konstantin Khlebnikov , LKML , Christoph Hellwig , Linux-MM , Andrew Morton , "Kirill A. Shutemov" 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. -- 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