Hi, guys:)
In order to run a program based on huge page, either insert PF_LINUX_HUGETLB in program header or by setting HUGETLB_ELFMAP env. while testcases such as linkhuge/xB.linkhuge/xBDT.linkhuge don't meet neither conditions mentioned above, so running them will using normal 4k huge page. As a result: ./linkhuge PASS because there is no linkstring. LD_PRELOAD=libhugetlbfs.so ./linkhuge PASS because there is no linkstring. ./xB.linkhuge FAIL Not mapping in huge page HUGETLB_ELFMAP=no xB.linkhuge PASS because elfmap_inhibited is set on. I test these four cases in X86/ARM, they have the same result. so did I misunderstand something import? Please correct me if I am wrong. Thanks ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel