• Deomid Ryabkov's avatar
    Improve mbuf allocation behavior · 0a90cab4
    Deomid Ryabkov authored
     * Limit total amount of headroom, in absolute terms (`MBUF_SIZE_MAX_HEADROOM`).
     * If unable to allocate with headroom, fall back to allocating the required minimum.
     * For mOS, set default `MBUF_SIZE_MULTIPLIER` to 2 to avoid floating point operations.
       Since max headroom size is now capped to 128 bytes, this will not result in much of a bloat.
    
    PUBLISHED_FROM=11d4fc65a46a805bb7c8960f89a3d0b753c58bb8
    0a90cab4
Name
Last commit
Last update
docs Loading commit data...
examples Loading commit data...
jni Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.mbedignore Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
mongoose.c Loading commit data...
mongoose.h Loading commit data...