On Fri, 16 Oct 2009, David Gibson wrote: > The linkhuge_nofd testcase no longer tests what it's supposed to - > that the elflink code will correctly fall back to normal pages if > hugepages are not available. > > The testcase checked this path by overriding the > hugetlbfs_unlinked_fd() function with one that always fails. However > newer revisions of the elflink code don't use the > hugetlbfs_unlinked_fd() function, they use the lower level > hugetlbfs_unlinked_fd_for_size(). > > This patch overrides the correct function and make the testcase do > what it's supposed to. Currently the test is effectively a duplicate > of the main linkhuge test.
Applied with SOB added, thanks. Eric
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference
_______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel