From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by kanga.kvack.org (Postfix) with ESMTP id A8CA16B00EC for ; Fri, 21 Feb 2014 18:54:25 -0500 (EST) Received: by mail-pd0-f175.google.com with SMTP id w10so3907533pde.6 for ; Fri, 21 Feb 2014 15:54:25 -0800 (PST) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org. [140.211.169.12]) by mx.google.com with ESMTP id on3si7827980pbb.275.2014.02.21.15.54.24 for ; Fri, 21 Feb 2014 15:54:24 -0800 (PST) Date: Fri, 21 Feb 2014 15:54:23 -0800 From: Andrew Morton Subject: Re: [PATCH 4/4] hugetlb: add hugepages_node= command-line option Message-Id: <20140221155423.6c6689e27fa10ed394f01843@linux-foundation.org> In-Reply-To: <1392702456.2468.4.camel@buesod1.americas.hpqcorp.net> References: <1392339728-13487-1-git-send-email-lcapitulino@redhat.com> <1392339728-13487-5-git-send-email-lcapitulino@redhat.com> <20140214225810.57e854cb@redhat.com> <1392702456.2468.4.camel@buesod1.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Davidlohr Bueso Cc: David Rientjes , Luiz Capitulino , mtosatti@redhat.com, Mel Gorman , Andrea Arcangeli , Andi Kleen , Rik van Riel , isimatu.yasuaki@jp.fujitsu.com, yinghai@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org On Mon, 17 Feb 2014 21:47:36 -0800 Davidlohr Bueso wrote: > > How is that difficult? hugepages= is the "noun", hugepagesz= is the > > "adjective". hugepages=100 hugepagesz=1G hugepages=4 makes perfect sense > > to me, and I actually don't allocate hugepages on the command line, nor > > have I looked at Documentation/kernel-parameters.txt to check if I'm > > constructing it correctly. It just makes sense and once you learn it it's > > just natural. > > This can get annoying _really_ fast for larger systems. Yes, I do prefer the syntax Luiz is proposing. But I think it would be better if it made hugepages= and hugepagesz= obsolete, so we can emit a printk if people use those, telling them to migrate because the old options are going away. Something like hugepages_node=1:4:1G and hugepages_node=:16:1G ? -- 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