Qi Wang ba0e35411c Rework the bin locking around tcache refill / flush.
Previously, tcache fill/flush (as well as small alloc/dalloc on the arena) may
potentially drop the bin lock for slab_alloc and slab_dalloc.  This commit
refactors the logic so that the slab calls happen in the same function / level
as the bin lock / unlock.  The main purpose is to be able to use flat combining
without having to keep track of stack state.

In the meantime, this change reduces the locking, especially for slab_dalloc
calls, where nothing happens after the call.
2020-02-13 23:31:54 -08:00
..
2019-12-20 10:18:40 -08:00
2017-03-06 15:08:43 -08:00
2019-12-20 10:18:40 -08:00
2019-09-23 23:06:27 -07:00
2019-11-21 11:08:36 -08:00
2019-12-20 10:18:40 -08:00
2019-12-20 10:18:40 -08:00
2019-09-23 23:06:27 -07:00
2019-11-21 11:08:36 -08:00
2019-12-20 10:18:40 -08:00
2019-12-30 15:58:57 -08:00
2020-02-13 12:25:26 -08:00
2018-05-18 11:43:03 -07:00
2019-12-30 15:58:57 -08:00
2017-10-02 20:44:43 -07:00
2019-12-30 15:58:57 -08:00
2017-03-07 10:25:33 -08:00
2018-07-09 21:40:42 -07:00
2019-12-20 10:18:40 -08:00
2019-09-23 23:06:27 -07:00
2019-09-23 23:06:27 -07:00
2017-05-25 16:52:10 -07:00
2017-05-25 16:52:10 -07:00
2017-10-04 18:37:23 -07:00
2020-02-04 13:07:05 -08:00
2018-10-18 08:32:19 -07:00
2018-07-09 21:40:42 -07:00
2019-04-16 11:07:15 -07:00
2020-02-04 13:07:05 -08:00
2017-04-24 15:02:45 -07:00