[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1217958805.10907.45.camel@nimitz>
Date: Tue, 05 Aug 2008 10:53:25 -0700
From: Dave Hansen <dave@...ux.vnet.ibm.com>
To: Mel Gorman <mel@....ul.ie>
Cc: Andrew Morton <akpm@...ux-foundation.org>, ebmunson@...ibm.com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...abs.org, libhugetlbfs-devel@...ts.sourceforge.net,
abh@...y.com
Subject: Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks
On Tue, 2008-08-05 at 17:28 +0100, Mel Gorman wrote:
> Ok sure, you could do direct inserts for MAP_PRIVATE as conceptually it
> suits this patch. However, I don't see what you gain. By reusing hugetlbfs,
> we get things like proper reservations which we can do for MAP_PRIVATE these
> days. Again, we could call that sort of thing directly if the reservation
> layer was split out separate from hugetlbfs but I still don't see the gain
> for all that churn.
>
> What am I missing?
This is good for getting us incremental functionality. It is probably
the smallest amount of code to get it functional.
My concern is that we're going down a path that all large page usage
should be through the one and only filesystem. Once we establish that
dependency, it is going to be awfully hard to undo it; just think of all
of the inherent behavior in hugetlbfs. So, we better be sure that the
filesystem really is the way to go, especially if we're going to start
having other areas of the kernel depend on it internally.
That said, this particular patch doesn't appear *too* bound to hugetlb
itself. But, some of its limitations *do* come from the filesystem,
like its inability to handle VM_GROWS...
-- Dave
--
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