Re: HugeTLB vs. SH3 cpu

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mel Gorman
Date: Wednesday, April 2, 2008 - 3:15 am

On (02/04/08 17:04), Paul Mundt didst pronounce:

I believe the original intention was that HUGETLB_PAGE would build the
hugepage pool and the arch-specific code and HUGETLBFS would be the userspace
interface but not necessarily the only one. Whatever the original intention,
it's no longer the case as they have become inter-dependant. Fixing it is
not straight-forward but I don't think we want to collapse HUGETLB_PAGE and
HUGETLBFS just yet either.


While I am loathe to add yet more hugetlb-related Kconfig options, this
does seem to be the common way of dealing with features that depend on the
architecture (e.g. HAVE_OPROFILE, HAVE_IDE, HAVE_KPROBES etc.).


It appears to be doing the right thing making defconfig across the different
architectures.

Acked-by: Mel Gorman <mel@csn.ul.ie>


hmm... This is what Kconfig is currently doing but by rights, it should be
set on a per-processor basis. I guess it's outside the scope of this patch as
there isn't an obvious way to tell what processor versions support huge pages.


-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
HugeTLB vs. SH3 cpu, Adrian Bunk, (Tue Apr 1, 3:58 pm)
Re: HugeTLB vs. SH3 cpu, Nish Aravamudan, (Tue Apr 1, 4:26 pm)
Re: HugeTLB vs. SH3 cpu, Paul Mundt, (Wed Apr 2, 1:04 am)
Re: HugeTLB vs. SH3 cpu, Mel Gorman, (Wed Apr 2, 3:15 am)
Re: HugeTLB vs. SH3 cpu, Nishanth Aravamudan, (Wed Apr 2, 3:55 pm)
Re: HugeTLB vs. SH3 cpu, Dave Hansen, (Wed Apr 2, 5:06 pm)
Re: HugeTLB vs. SH3 cpu, Paul Mundt, (Wed Apr 2, 10:48 pm)
Re: HugeTLB vs. SH3 cpu, Paul Mundt, (Wed Apr 2, 10:52 pm)