Wilco Dijkstra
3f6bb8a32e
Add single-threaded path to malloc/realloc/calloc/memalloc
...
This patch adds a single-threaded fast path to malloc, realloc,
calloc and memalloc. When we're single-threaded, we can bypass
arena_get (which always locks the arena it returns) and just use
the main arena. Also avoid retrying a different arena since
there is just the main arena.
* malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
(__libc_realloc): Likewise.
(_mid_memalign): Likewise.
(__libc_calloc): Likewise.
2017-10-24 12:39:24 +01:00
..
2017-06-21 22:43:57 +02:00
2017-06-21 22:43:57 +02:00
2017-06-21 22:43:57 +02:00
2017-06-21 22:43:57 +02:00
2017-06-21 22:43:57 +02:00
2017-10-17 18:55:16 +01:00
2017-06-02 11:59:28 +02:00
2017-09-06 16:03:28 +02:00
2017-06-02 11:59:28 +02:00
2017-06-02 11:59:28 +02:00
2017-08-30 20:10:56 +02:00
2017-06-13 21:55:10 +02:00
2017-06-19 12:58:08 +02:00
2017-10-15 08:16:37 -07:00
2017-10-16 20:50:04 +02:00
2017-01-01 00:14:16 +00:00
2017-08-31 15:59:06 +02:00
2017-10-24 12:39:24 +01:00
2017-05-30 18:27:57 -03:00
2014-01-02 09:40:10 +01:00
2017-10-16 20:52:34 +02:00
2017-08-08 17:14:49 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:26:24 +00:00
2017-01-01 00:26:24 +00:00
2017-01-01 00:14:16 +00:00
2017-09-26 16:53:44 -07:00
2017-01-01 00:26:24 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-05-30 18:27:57 -03:00
2017-09-25 18:04:22 -07:00
2017-09-08 15:51:34 +02:00
2017-09-08 15:51:34 +02:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-26 09:56:26 -03:00
2017-01-01 00:14:16 +00:00
2017-06-02 11:59:28 +02:00
2017-06-02 11:59:28 +02:00
2017-06-13 21:55:10 +02:00
2017-08-30 20:10:56 +02:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-03-21 16:41:56 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-10-06 09:31:52 -07:00
2017-01-01 00:14:16 +00:00
2017-01-05 17:39:38 +00:00
2016-12-31 23:49:24 +05:30
2016-12-31 23:49:24 +05:30
2016-12-31 23:49:24 +05:30
2017-01-01 00:14:16 +00:00
2017-02-25 09:59:46 -05:00
2017-01-05 17:39:38 +00:00
2005-12-06 00:50:15 +00:00
2017-09-05 12:24:00 -07:00
2017-01-01 00:14:16 +00:00
2017-02-25 09:59:46 -05:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2014-11-05 15:24:08 +05:30
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-02-25 09:59:46 -05:00
2017-05-30 18:27:57 -03:00
2017-09-25 18:04:22 -07:00
2007-12-16 22:57:57 +00:00
2017-01-01 00:14:16 +00:00
2017-06-21 22:43:57 +02:00