[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140221155423.6c6689e27fa10ed394f01843@linux-foundation.org>
Date: Fri, 21 Feb 2014 15:54:23 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Davidlohr Bueso <davidlohr@...com>
Cc: David Rientjes <rientjes@...gle.com>,
Luiz Capitulino <lcapitulino@...hat.com>, mtosatti@...hat.com,
Mel Gorman <mgorman@...e.de>,
Andrea Arcangeli <aarcange@...hat.com>,
Andi Kleen <andi@...stfloor.org>,
Rik van Riel <riel@...hat.com>,
isimatu.yasuaki@...fujitsu.com, yinghai@...nel.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 4/4] hugetlb: add hugepages_node= command-line option
On Mon, 17 Feb 2014 21:47:36 -0800 Davidlohr Bueso <davidlohr@...com> 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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists