Re: [Libhugetlbfs-devel] Add MIPS support to libhugetlbfs, the sample testing result

2011-06-13 Thread Yu Huang
at 2011/6/14 9:07, David Gibson wrote: > On Mon, Jun 13, 2011 at 10:57:08PM +0800, Yu Huang wrote: >> Thanks for David and Eric's suggestion! >> >> Before I submit the updated patch I would like to show some testing >> result under mips arch. I used NPB

[Libhugetlbfs-devel] [patch] Add MIPS support to libhugetlbfs

2011-06-13 Thread Yu Huang
d(__sparc__) + defined(__s390__) || defined(__s390x__) || defined(__sparc__) || defined(__mips__) /* On powerpc and ia64 and s390, 0 bytes are an illegal * instruction, so, if the icache is cleared properly, we SIGILL * as soon as we jump into the cleared page */ -- 2.12 ---

[Libhugetlbfs-devel] Add MIPS support to libhugetlbfs, the sample testing result

2011-06-13 Thread Yu Huang
60Mop/s. That's a significant improvement! The patch will be shown in another mail. 于 2011/6/6 11:56, David Gibson Wrote: > On Sun, Jun 05, 2011 at 05:01:46PM +0800, Yu Huang wrote: >> 于 2011/6/4 15:22, David Gibson Wrote: >>> Uh, you need the -u option to diff. P

Re: [Libhugetlbfs-devel] Add MIPS support to libhugetlbfs

2011-06-05 Thread Yu Huang
于 2011/6/4 15:22, David Gibson 写道: > Uh, you need the -u option to diff. Plain-style diffs are more or > less unusable as patches. > Thanks you! Here is a new patch with -u option: diff -ruN libhugetlbfs-2.12-x86/ld.hugetlbfs libhugetlbfs-2.12-mips/ld.hugetlbfs --- libhugetlbfs-2.12-x86/ld.huge

[Libhugetlbfs-devel] Add MIPS support to libhugetlbfs

2011-06-03 Thread Yu Huang
RCH),mips64) > xx 231a244 > endif diff -rN libhugetlbfs-2.12-x86/tests/icache-hygiene.c libhugetlbfs-2.12-mips/tests/icache-hygiene.c 88c88 < defined(__s390__) || defined(__s390x__) || defined(__sparc__) --- > defined(__s390__) || defined(__s390x__) || defined(__sparc__

Re: [Libhugetlbfs-devel] Can I add MIPS support to libhugetlbfs?

2011-01-15 Thread Yu Huang
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 wro

[Libhugetlbfs-devel] Can I add MIPS support to libhugetlbfs?

2011-01-12 Thread Yu Huang
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 t