Avoids func calls and branches in the common case.
malloc+free throughput per second: ~19323918 to ~27418181.
lock1 from will-it-scale (single-threaded): 2196902 -> 2345506
Differential D15736
Implement fast path for malloc and free mjg on Jun 10 2018, 1:36 PM. Authored by Tags None Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions The M_ZERO stuff went in quite some time ago. I plan to deal with static one lookup later. I don't think the inlined cache bump matters. But if you insist i can move it to a dedicated routine. Comment Actions Apart from addressing this review request this needs some reworking due to other changes in uma. |