On 25.12.2008 [06:01:26 -0800], mehul vora wrote: > Hi Guys, > > Marry X-MAS to you ALL. > > I am re-starting the long paused libhugetlb porting for MIPS. > > One quick question - Is there any additional driver/kernel > component to support libhugetlbfs that i may have to port for MIPS ? > > I have already ported the basic hugetlb (except MAP_PRIVATE) for > MIPS and i can allocate MAP_SHARED hugepages thru mmap/shmem. I am > using linux 2.6.21 and hugetlbfs 2.1 release.
Well, I would use current mainline if you are going to use such a recent libhugetlbfs. If you run the `make func` portion of the testsuite against your patched kernel (2.6.28) based, you might see some FAILs. Those are functionality gaps between your MIPS port and the expected mainline features. Some may be impossible to fix (not sure of the limitations of hugepages on MIPS) and will need exclusions in the testsuite to skip in MIPS, but only if they really can't be supported, not if they simply are unsupported right now. The `make stress` tests will help verify that there are no locking/race issues, generally, as they stress the various hugepage allocation/freeing paths throughout the kernel. Good luck, Nish -- Nishanth Aravamudan <n...@us.ibm.com> IBM Linux Technology Center ------------------------------------------------------------------------------ _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel