NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: jemalloc SEGV problem



Hi,
Ok i understand.
These macros i have retained as they are in the original NetBSD implementation.
I haven not changed anything.

Please let me know if i need to add any changes which are ARCH specific.


Thanks in Advance,
Channa

2008/11/12 Christos Zoulas <christos%zoulas.com@localhost>:
> On Nov 12, 12:56pm, channa.kad%gmail.com@localhost (Channa) wrote:
> -- Subject: Re: jemalloc SEGV problem
>
> | Hi,
> | I am working on MIPS arch.
> | Could you please elaborate on other arch specific macros?
> |
> | Regards,
> | Channagoud
> |
>
> /* Minimum alignment of allocations is 2^QUANTUM_2POW_MIN bytes. */
> #ifdef __i386__
> #  define QUANTUM_2POW_MIN      4
> #  define SIZEOF_PTR_2POW       2
> #  define USE_BRK
> #endif
> #ifdef __ia64__
> #  define QUANTUM_2POW_MIN      4
> #  define SIZEOF_PTR_2POW       3
> #endif
> #ifdef __alpha__
> #  define QUANTUM_2POW_MIN      4
> #  define SIZEOF_PTR_2POW       3
> #  define NO_TLS
> #endif
> #ifdef __sparc64__
> #  define QUANTUM_2POW_MIN      4
> #  define SIZEOF_PTR_2POW       3
> #  define NO_TLS
> #endif
> #ifdef __amd64__
> #  define QUANTUM_2POW_MIN      4
> #  define SIZEOF_PTR_2POW       3
> #endif
> #ifdef __arm__
> #  define QUANTUM_2POW_MIN      3
> #  define SIZEOF_PTR_2POW       2
> #  define USE_BRK
> #  define NO_TLS
> #endif
> #ifdef __powerpc__
> #  define QUANTUM_2POW_MIN      4
> #  define SIZEOF_PTR_2POW       2
> #  define USE_BRK
> #endif
> #if defined(__sparc__) && !defined(__sparc64__)
> #  define QUANTUM_2POW_MIN      4
> #  define SIZEOF_PTR_2POW       2
> #  define USE_BRK
> #endif
> #ifdef __vax__
> #  define QUANTUM_2POW_MIN      4
> #  define SIZEOF_PTR_2POW       2
> #  define USE_BRK
> #endif
> #ifdef __sh__
> #  define QUANTUM_2POW_MIN      4
> #  define SIZEOF_PTR_2POW       2
> #  define USE_BRK
> #endif
> #ifdef __m68k__
> #  define QUANTUM_2POW_MIN      4
> #  define SIZEOF_PTR_2POW       2
> #  define USE_BRK
> #endif
> #ifdef __mips__
> #  define QUANTUM_2POW_MIN      4
> #  define SIZEOF_PTR_2POW       2
> #  define USE_BRK
> #endif
> #ifdef __hppa__
> #  define QUANTUM_2POW_MIN     4
> #  define SIZEOF_PTR_2POW      2
> #  define USE_BRK
> #endif
>
> christos
>


Home | Main Index | Thread Index | Old Index