On Tue, Nov 23, 2010 at 08:52:13AM -0700, Eric B Munson wrote:
> When MAP_HUGETLB is used, the standard test for a mapping being backed by huge
> pages fails because the mapping will not be on hugetlbfs.  Instead of testing
> the filesystem backing the mapping, this patch adds a check of reported MMU
> page size from /proc/self/smaps.  get_mapping_page_size returns the page
> size that is being used for the specified mapping in bytes.
> 
> Signed-off-by: Eric B Munson <emun...@mgebm.net>

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

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to