linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Merge HUGETLB_PAGE and HUGETLBFS Kconfig options
@ 2008-06-12 18:49 Adam Litke
  2008-06-12 18:53 ` [RFC PATCH 1/2] Merge options into CONFIG_HUGETLB Adam Litke
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Adam Litke @ 2008-06-12 18:49 UTC (permalink / raw)
  To: linux-mm
  Cc: npiggin, linux-s390, linux-ia64, linux-sh, mel, linux-kernel,
	linuxppc-dev, linux-mips, Eric B Munson, sparclinux, nacc

There are currently two global Kconfig options that enable/disable the
hugetlb code: CONFIG_HUGETLB_PAGE and CONFIG_HUGETLBFS.  This may have
made sense before hugetlbfs became ubiquitous but now the pair of
options are redundant.  Merging these two options into one will simplify
the code slightly and will, more importantly, avoid confusion and
questions like: Which hugetlbfs CONFIG option should my code depend on?

CONFIG_HUGETLB_PAGE is aliased to the value of CONFIG_HUGETLBFS, so one
option can be removed without any effect.  The first patch merges the
two options into one option: CONFIG_HUGETLB.  The second patch updates
the defconfigs to set the one new option appropriately.

I have cross-compiled this on i386, x86_64, ia64, powerpc, sparc64 and
sh with the option enabled and disabled.  This is completely mechanical
but, due to the large number of files affected (especially defconfigs),
could do well with a review from several sets of eyeballs.  Thanks.

-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-06-13 18:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-12 18:49 [RFC PATCH 0/2] Merge HUGETLB_PAGE and HUGETLBFS Kconfig options Adam Litke
2008-06-12 18:53 ` [RFC PATCH 1/2] Merge options into CONFIG_HUGETLB Adam Litke
2008-06-12 18:55 ` [RFC PATCH 2/2] Update defconfigs for CONFIG_HUGETLB Adam Litke
2008-06-12 19:36   ` Adrian Bunk
2008-06-13 18:12     ` Adam Litke
2008-06-13 13:46 ` [RFC PATCH 0/2] Merge HUGETLB_PAGE and HUGETLBFS Kconfig options Ralf Baechle
2008-06-13 14:03   ` Adam Litke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).