This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug malloc/24903] malloc/tst-mxfast fails on i386


https://sourceware.org/bugzilla/show_bug.cgi?id=24903

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com

--- Comment #2 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Florian Weimer from comment #1)
> This looks related to bug 24906 due to the way set_max_fast is defined:
> 
> #define set_max_fast(s) \
>   global_max_fast = (((s) == 0)						      \
>                      ? SMALLBIN_WIDTH : ((s + SIZE_SZ) & ~MALLOC_ALIGN_MASK))
> 
> On i386, set_max_fast (0) does not actually disable fastbins, I think.

It should always set things to a smallbin width that is smaller than the
allowed smallbin width. If it doesn't then it's a bug in the i686 support.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]