aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_mheap.c
AgeCommit message (Collapse)AuthorFilesLines
2018-06-28Fix mheap_get_aligned() performance jackpotDave Barach1-1/+46
If non-trivial alignment (e.g. 64) requested, and the object size (e.g. 16) is smaller than (alignment_request - MHEAP_ELT_OVERHEAD_BYTES), round up the size request. This avoids creating remainder chunks, which are false-cache-line-sharing bait to begin with. Change-Id: Ie1a21286d29557d125bb346254b1be2def868b1a Signed-off-by: Dave Barach <dave@barachs.net>
2017-12-06UT: Repaired broken C unit tests (--enable-tests)Ole Troan1-1/+1
Change-Id: I63d720378b92813993525f80fee90fc79df27fba Signed-off-by: Ole Troan <ot@cisco.com>
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1-0/+242
Change-Id: I7b51f88292e057c6443b12224486f2d0c9f8ae23 Signed-off-by: Damjan Marion <damarion@cisco.com>