From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f200.google.com (mail-ot0-f200.google.com [74.125.82.200]) by kanga.kvack.org (Postfix) with ESMTP id C5A066B0387 for ; Fri, 17 Feb 2017 16:10:28 -0500 (EST) Received: by mail-ot0-f200.google.com with SMTP id 45so42225142otd.6 for ; Fri, 17 Feb 2017 13:10:28 -0800 (PST) Received: from mail-oi0-x242.google.com (mail-oi0-x242.google.com. [2607:f8b0:4003:c06::242]) by mx.google.com with ESMTPS id 6si5293905otu.23.2017.02.17.13.10.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Feb 2017 13:10:28 -0800 (PST) Received: by mail-oi0-x242.google.com with SMTP id w144so2483631oiw.1 for ; Fri, 17 Feb 2017 13:10:28 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20170217141328.164563-1-kirill.shutemov@linux.intel.com> <20170217141328.164563-34-kirill.shutemov@linux.intel.com> From: Linus Torvalds Date: Fri, 17 Feb 2017 13:10:27 -0800 Message-ID: Subject: Re: [PATCHv3 33/33] mm, x86: introduce PR_SET_MAX_VADDR and PR_GET_MAX_VADDR Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Dave Hansen Cc: "Kirill A. Shutemov" , Andrew Morton , the arch/x86 maintainers , Thomas Gleixner , Ingo Molnar , Arnd Bergmann , "H. Peter Anvin" , Andi Kleen , Andy Lutomirski , "linux-arch@vger.kernel.org" , linux-mm , Linux Kernel Mailing List , Catalin Marinas , Linux API On Fri, Feb 17, 2017 at 1:04 PM, Dave Hansen wrote: > > Is this likely to break anything in practice? Nah. But it would nice > to avoid it. So I go the other way: what *I* would like to avoid is odd code that is hard to follow. I'd much rather make the code be simple and the rules be straightforward, and not introduce that complicated "different address limits" thing at all. Then, _if_ we ever find a case where it makes a difference, we could go the more complex route. But not first implementation, and not without a real example of why we shouldn't just keep things simple. 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