[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <m2sjlfvqi4.fsf@firstfloor.org>
Date: Tue, 22 Nov 2011 12:41:55 -0800
From: Andi Kleen <andi@...stfloor.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
David Daney <ddaney@...iumnetworks.com>,
David Daney <ddaney.cavm@...il.com>,
David Rientjes <rientjes@...gle.com>,
"linux-mips\@linux-mips.org" <linux-mips@...ux-mips.org>,
"ralf\@linux-mips.org" <ralf@...ux-mips.org>,
"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>,
David Daney <david.daney@...ium.com>,
"linux-arch\@vger.kernel.org" <linux-arch@...r.kernel.org>,
Robin Holt <holt@....com>
Subject: Re: [patch] hugetlb: remove dummy definitions of HPAGE_MASK and HPAGE_SIZE
Andrew Morton <akpm@...ux-foundation.org> writes:
>>
>> I wish people whose code had stuff like that would take a deep look at it.
>>
>
> The original decision way back when was that huge pages shouldn't mess
> up the core VM too much. One way in which we addressed that was to
IMHO this decision should really be revisited now. Originally hugetlb
was pretty simple, but these days it has most of the functionality of a
full VM now. In fact with THP we have 3 different VM systems now, all
subtle different with different issues. And with THP hugetlb will be
even more widely used than it is today.
On the other hand there are strange gaps now, like shared memory
doesn't work with THP, but only with hugetlbfs.
It would be far better to think about unifying these three VMs. Then with
less ifdefs it would also not need hacks like this anymore.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only
--
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