2014-05-23 0:35 GMT+01:00 Manuel A. Fernandez Montecelo <[email protected]>: > Source: jemalloc > Severity: normal > Tags: upstream patch > > Hi, > > I am building with "CPPFLAGS='-DLG_QUANTUM=4'" at the moment, and > something similar could be applied in debian/rules (as it is done in > other architectures), but I guess that it would be better if this had > support upstream so not only Debian benefits from this. > > I provide a patch here: > > --------------- > diff -ur jemalloc.orig/include/jemalloc/internal/jemalloc_internal.h.in > jemalloc.new/include/jemalloc/internal/jemalloc_internal.h.in > --- jemalloc.orig/include/jemalloc/internal/jemalloc_internal.h.in > 2014-03-31 17:37:49.000000000 +0100 > +++ jemalloc.new/include/jemalloc/internal/jemalloc_internal.h.in > 2014-05-23 00:25:24.338661693 +0100 > @@ -268,6 +268,9 @@ > # ifdef __mips__ > # define LG_QUANTUM 3 > # endif > +# ifdef __or1k__ > +# define LG_QUANTUM 4 > +# endif > # ifdef __powerpc__ > # define LG_QUANTUM 4 > # endif > --------------- > > Source file (with some explanation about what this variable is supposed > to mean): > > > http://sources.debian.net/src/jemalloc/3.6.0-1/include/jemalloc/internal/jemalloc_internal.h.in > > > I actually don't know if the size should be 3 (__mips__ and __arm__ use > this) or 4, which all the rest use, 32 and 64 bits arches alike. > Perhaps Christian (in CC) knows better.
Christian told me in IRC that he thinks that LG_QUANTUM=3 will work fine, so please try this instead. Cheers. -- Manuel A. Fernandez Montecelo <[email protected]> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

