Re: [RFC] Reserve huge pages for reliable MAP_PRIVATE hugetlbfs mappings

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adam Litke
Date: Monday, April 21, 2008 - 12:05 pm

On Mon, 2008-04-21 at 19:36 +0100, Mel Gorman wrote:

Very sound idea in my opinion and definitely a step in the right
direction toward even more reliable huge pages.  With this patch (my
comments included), the only remaining cause of unexpected SIGKILLs
would be copy-on-write.


I assume you're just playing it safe for this RFC, but surely a 100 page
max reservation is not sufficient (especially since we have a whole
unsigned long to work with).  Also, I am not sure a BUG_ON would be an
appropriate response to exceeding the maximum.

<snip>


To promote reliability, might it be advisable to just reserve the pages
regardless of VM_MAYWRITE?  Otherwise we might want to consider
reserving the pages in hugetlb_change_protection().

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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] Reserve huge pages for reliable MAP_PRIVATE huge ..., Adam Litke, (Mon Apr 21, 12:05 pm)