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 0AD636B0253 for ; Tue, 22 Sep 2015 13:41:22 -0400 (EDT) Received: by ioiz6 with SMTP id z6so21791882ioi.2 for ; Tue, 22 Sep 2015 10:41:21 -0700 (PDT) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com. [2607:f8b0:4001:c05::22a]) by mx.google.com with ESMTPS id rj8si13761823igc.53.2015.09.22.10.41.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Sep 2015 10:41:21 -0700 (PDT) Received: by igbkq10 with SMTP id kq10so104250857igb.0 for ; Tue, 22 Sep 2015 10:41:21 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1442903021-3893-2-git-send-email-mingo@kernel.org> References: <1442903021-3893-1-git-send-email-mingo@kernel.org> <1442903021-3893-2-git-send-email-mingo@kernel.org> Date: Tue, 22 Sep 2015 10:41:21 -0700 Message-ID: Subject: Re: [PATCH 01/11] x86/mm/pat: Don't free PGD entries on memory unmap From: Linus Torvalds Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Ingo Molnar Cc: Linux Kernel Mailing List , linux-mm , Andy Lutomirski , Andrew Morton , Denys Vlasenko , Brian Gerst , Peter Zijlstra , Borislav Petkov , "H. Peter Anvin" , Oleg Nesterov , Waiman Long , Thomas Gleixner On Mon, Sep 21, 2015 at 11:23 PM, Ingo Molnar wrote: > > This complicates PGD management, so don't do this. We can keep the > PGD mapped and the PUD table all clear - it's only a single 4K page > per 512 GB of memory mapped. I'm ok with this just from a "it removes code" standpoint. That said, some of the other patches here make me go "hmm". I'll answer them separately. 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