linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFD hugetlbfs] strict accounting and wasteful reservations
@ 2006-04-13 17:36 Adam Litke
  2006-04-13 19:18 ` 'David Gibson'
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Litke @ 2006-04-13 17:36 UTC (permalink / raw)
  To: akpm; +Cc: Chen, Kenneth W, 'David Gibson', wli, linux-mm

Sorry to bring this up after the strict accounting patch was merged but
things moved along a bit too fast for me to intervene.

In the thread beginning at http://lkml.org/lkml/2006/3/8/47 , a
discussion was had to compare the patch from David Gibson (the patch
that was ultimately merged) with an alternative patch from Ken Chen.
The main functional difference is how we handle arbitrary file offsets
into a hugetlb file.  The current patch reserves enough huge pages to
populate the whole file up to the highest file offset in use.  Ken's
patch supported arbitrary blocks.

For libhugetlbfs, we would like to have sparsely populated hugetlb files
without wasting all the extra huge pages that the current implementation
requires.  That aside, having yet another difference in behavior for
hugetlbfs files (that isn't necessary) seems like a bad idea.

So on to my questions.  Do people agree that supporting reservation for
sparsely populated hugetlbfs files makes sense?

I've been hearing complaints about the code churn in hugetlbfs code
lately, so is there a way to adapt what we currently have to support
this?

Otherwise, should I (or Ken?) take a stab at resurrecting Ken's
competing patch with the intent of eventually replacing the current
code?
-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2006-04-14 17:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-13 17:36 [RFD hugetlbfs] strict accounting and wasteful reservations Adam Litke
2006-04-13 19:18 ` 'David Gibson'
2006-04-13 19:51   ` Adam Litke
2006-04-13 20:01     ` 'David Gibson'
2006-04-13 20:06       ` Adam Litke
2006-04-13 21:32         ` 'David Gibson'
2006-04-14  1:55           ` Chen, Kenneth W
2006-04-14 17:33             ` Adam Litke
2006-04-14 17:40               ` Chen, Kenneth W

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox