On Fri, Jun 03, 2011 at 11:01:42PM +0800, Yu Huang wrote:
> Hi Nish, Mel and Eric,
> 
> I added MIPS support to libhugetlbfs. It supports heap allocation
> (LD_PRELOAD=libhugetlbfs.so HUGETLB_MORECORE=yes ) currently.  data
> and text segment not supported yet.
> 
> I can get data and text segment backed by hugepages in libhugetlbfs
> 2.10, but for still-unknown reason I can't get them backed by
> hugepage in 2.12.  While I'm working on this problem, I submit the
> finished part here.
> 
> here is the patch:
> ------------------------------------------------------------
> 
> diff -rN libhugetlbfs-2.12-x86/Makefile libhugetlbfs-2.12-mips/Makefile
> 20c20
> < LDSCRIPT_DIST_ELF = elf32ppclinux elf64ppc elf_i386 elf_x86_64

Uh, you need the -u option to diff.  Plain-style diffs are more or
less unusable as patches.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to