Thanks for David, Nish and Eric's reply! In the past 3 days I have fully tested libhugetlbfs on MIPS platform (Loongson 3A, a MIPS R4k arch imp). I worked fine.
Before I post the patch I want to get one thing clear: do I have to support --hugetlbfs-link option? Is this a MUST? Since I have only make the code to support --hugetlbfs-align. I don't want to do the dirty work of writing ldscripts for MIPS. --hugetlbfs-align is truely enough for us. Since I don't support --hugetlbfs-link option, some test programs in tests/ directory don't compile. Currently I simply comment them out. What do you suggest to deal with this? User who use my patch should have binutil version >= 2.18 in order to support -zcommon-page-size, -zmax-page-size LD options. 2011/1/13 9:27, David Gibson Wrote: > On Thu, Jan 13, 2011 at 01:51:26AM +0800, Yu Huang wrote: >> Hi guys, >> >> I am trying to make it possible for MIPS to utilize libhugetlbfs. It >> seems that it is not so hard. I can support hugepage backed heap, >> bss, data and text already. The next step is to test through my >> implementation. If I succeed in doing this, will you accept my >> patch and merge it into the mainline of libhugetlbfs sourcecode? > Sounds like an excellent idea. > -- Ray Chiese Academy of Sciences, Beijing, China. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel