Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
a62917b8908f41c4733f5c61412ec7619144cc94
/
src
/
memory.c
8286754
MINOR: pools: always pre-initialize allocated memory outside of the lock
by Willy Tarreau
· Thu Jul 04 11:48:16 2019 +0200
3e853ea
MINOR: pools: release the pool's lock during the malloc/free calls
by Willy Tarreau
· Thu Jul 04 11:30:00 2019 +0200
2f6d3c0
BUG/MINOR: memory: Set objects size for pools in the per-thread cache
by Christopher Faulet
· Tue Jun 25 21:45:59 2019 +0200
a8b2ce0
MINOR: activity: report the number of failed pool/buffer allocations
by Willy Tarreau
· Tue May 28 17:04:16 2019 +0200
64a47b9
CLEANUP: memory: make the fault injection code use the OTHER_LOCK label
by Willy Tarreau
· Mon May 20 11:09:00 2019 +0200
6a38b32
BUILD: threads: fix again the __ha_cas_dw() definition
by Willy Tarreau
· Sat May 11 18:04:24 2019 +0200
2087276
MEDIUM: memory: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· Fri Mar 08 18:53:35 2019 +0100
9c4f08a
BUG/MINOR: tune.fail-alloc: Don't forget to initialize ret.
by Olivier Houchard
· Fri Feb 01 16:28:04 2019 +0100
dc21ff7
MINOR: debug: Add an option that causes random allocation failures.
by Olivier Houchard
· Tue Jan 29 15:20:16 2019 +0100
7f0165e
MEDIUM: memory: make the pool cache an array and not a thread_local
by Willy Tarreau
· Mon Nov 26 17:09:46 2018 +0100
2455ceb
MEDIUM: memory: use pool_destroy_all() to destroy all pools on deinit()
by Willy Tarreau
· Mon Nov 26 15:57:34 2018 +0100
7107c8b
MINOR: memory: add a callback function to create a pool
by Willy Tarreau
· Mon Nov 26 11:44:35 2018 +0100
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· Sun Nov 25 19:14:37 2018 +0100
db39843
MINOR: stream-int: replace si_cant_put() with si_rx_room_{blk,rdy}()
by Willy Tarreau
· Thu Nov 15 11:08:52 2018 +0100
0cd3bd6
MINOR: stream-int: rename si_applet_{want|stop|cant}_{get|put}
by Willy Tarreau
· Tue Nov 06 18:46:37 2018 +0100
30f931e
BUG/MEDIUM: pools: fix the minimum allocation size
by Willy Tarreau
· Tue Oct 23 14:40:23 2018 +0200
8b2c8a7
BUILD: memory: fix free_list pointer declaration again for atomic CAS
by Olivier Houchard
· Sun Oct 21 01:52:59 2018 +0200
ac6c880
BUILD: memory: fix pointer declaration for atomic CAS
by Willy Tarreau
· Thu Oct 18 16:12:28 2018 +0200
e18db9e
MEDIUM: pools: implement a thread-local cache for pool entries
by Willy Tarreau
· Tue Oct 16 10:28:54 2018 +0200
0a93b64
MINOR: pools: allocate most memory pools from an array
by Willy Tarreau
· Tue Oct 16 07:58:39 2018 +0200
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· Fri Jul 13 10:54:26 2018 +0200
f161d0f
BUG/MINOR: pools/threads: don't ignore DEBUG_UAF on double-word CAS capable archs
by Willy Tarreau
· Thu Feb 22 14:05:55 2018 +0100
cf975d4
MINOR: pools/threads: Implement lockless memory pools.
by Olivier Houchard
· Wed Jan 24 18:38:31 2018 +0100
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· Fri Nov 24 17:34:44 2017 +0100
f13322e
MINOR: pools: prepare functions to override malloc/free in pools
by Willy Tarreau
· Wed Nov 22 10:50:54 2017 +0100
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· Tue Nov 07 10:42:54 2017 +0100
b349e48
MEDIUM: threads/pool: Make pool thread-safe by locking all access to a pool
by Christopher Faulet
· Tue Aug 29 09:52:38 2017 +0200
06d80a9
REORG: channel: finally rename the last bi_* / bo_* functions
by Willy Tarreau
· Thu Oct 19 14:32:15 2017 +0200
b781dbe
MINOR: memory: remove macros
by David Carlier
· Fri Jul 21 08:44:40 2017 +0100
e9ecec8
CLEANUP: memory: remove the now unused cli_parse_show_pools() function
by Willy Tarreau
· Fri Dec 16 18:55:23 2016 +0100
e7ed885
REORG: cli: move 'show pools' to memory.c
by William Lallemand
· Sat Nov 19 02:25:36 2016 +0100
581bf81
MEDIUM: pools: add a new flag to avoid rounding pool size up
by Willy Tarreau
· Mon Jan 25 02:19:13 2016 +0100
58102cf
MEDIUM: memory: add accounting for failed allocations
by Willy Tarreau
· Wed Oct 28 16:24:21 2015 +0100
de30a68
DEBUG/MEDIUM: memory: add optional control pool memory operations
by Willy Tarreau
· Wed Oct 28 15:23:51 2015 +0100
ac42111
DEBUG/MEDIUM: memory: optionally protect free data in pools
by Willy Tarreau
· Wed Oct 28 15:09:29 2015 +0100
067ac9f
MINOR: debug: enable memory poisonning to use byte 0
by Willy Tarreau
· Thu Oct 08 14:12:13 2015 +0200
a885f6d
MEDIUM: memory: improve pool_refill_alloc() to pass a refill count
by Willy Tarreau
· Wed Dec 03 15:25:28 2014 +0100
0262241
MINOR: memory: cut pool allocator in 3 layers
by Willy Tarreau
· Mon Dec 08 16:35:23 2014 +0100
57767b8
BUG/MEDIUM: memory: fix freeing logic in pool_gc2()
by Willy Tarreau
· Mon Dec 22 21:40:55 2014 +0100
12833bb
MINOR: cli: add the new "show pools" command
by Willy Tarreau
· Tue Jan 28 16:49:56 2014 +0100
6e06443
MEDIUM: memory: add the ability to poison memory at run time
by Willy Tarreau
· Tue May 08 15:40:42 2012 +0200
b7f9d12
[MEDIUM] ensure we don't recursively call pool_gc2()
by Willy Tarreau
· Tue Apr 21 02:17:45 2009 +0200
1772ece
[MINOR] fix several printf formats and missing arguments
by Willy Tarreau
· Fri Apr 03 14:49:12 2009 +0200
a643baf
[MEDIUM] Fix memory freeing at exit
by Krzysztof Piotr Oledzki
· Thu May 29 23:53:44 2008 +0200
dae4aa8
[BUG] fix segfault at exit when using captures
by Willy Tarreau
· Sat Jun 16 23:19:53 2007 +0200
4d2d098
[MAJOR] call garbage collector when doing soft stop
by Willy Tarreau
· Mon May 14 00:39:29 2007 +0200
7dcd46d
[MEDIUM] enhance behaviour of mempools v2
by Willy Tarreau
· Mon May 14 00:16:13 2007 +0200
e6ce59d
[MEDIUM] add new memory management functions
by Willy Tarreau
· Sun May 13 19:38:49 2007 +0200
50e608d
[MEDIUM] implement memory pools version 2
by Willy Tarreau
· Sun May 13 18:26:08 2007 +0200