Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
908071171b56a74b42fbb473ed648189f60388a0
/
src
/
memory.c
04f5fe8
BUG/MEDIUM: memory: Add a rwlock before freeing memory.
by Olivier Houchard
· 4 years, 9 months ago
8af97eb
MINOR: memory: Only init the pool spinlock once.
by Olivier Houchard
· 4 years, 9 months ago
b6fa08b
BUG/MEDIUM: memory_pool: Update the seq number in pool_flush().
by Olivier Houchard
· 4 years, 9 months ago
8286754
MINOR: pools: always pre-initialize allocated memory outside of the lock
by Willy Tarreau
· 5 years ago
3e853ea
MINOR: pools: release the pool's lock during the malloc/free calls
by Willy Tarreau
· 5 years ago
2f6d3c0
BUG/MINOR: memory: Set objects size for pools in the per-thread cache
by Christopher Faulet
· 5 years ago
a8b2ce0
MINOR: activity: report the number of failed pool/buffer allocations
by Willy Tarreau
· 5 years ago
64a47b9
CLEANUP: memory: make the fault injection code use the OTHER_LOCK label
by Willy Tarreau
· 5 years ago
6a38b32
BUILD: threads: fix again the __ha_cas_dw() definition
by Willy Tarreau
· 5 years ago
2087276
MEDIUM: memory: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· 6 years ago
9c4f08a
BUG/MINOR: tune.fail-alloc: Don't forget to initialize ret.
by Olivier Houchard
· 6 years ago
dc21ff7
MINOR: debug: Add an option that causes random allocation failures.
by Olivier Houchard
· 6 years ago
7f0165e
MEDIUM: memory: make the pool cache an array and not a thread_local
by Willy Tarreau
· 6 years ago
2455ceb
MEDIUM: memory: use pool_destroy_all() to destroy all pools on deinit()
by Willy Tarreau
· 6 years ago
7107c8b
MINOR: memory: add a callback function to create a pool
by Willy Tarreau
· 6 years ago
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· 6 years ago
db39843
MINOR: stream-int: replace si_cant_put() with si_rx_room_{blk,rdy}()
by Willy Tarreau
· 6 years ago
0cd3bd6
MINOR: stream-int: rename si_applet_{want|stop|cant}_{get|put}
by Willy Tarreau
· 6 years ago
30f931e
BUG/MEDIUM: pools: fix the minimum allocation size
by Willy Tarreau
· 6 years ago
8b2c8a7
BUILD: memory: fix free_list pointer declaration again for atomic CAS
by Olivier Houchard
· 6 years ago
ac6c880
BUILD: memory: fix pointer declaration for atomic CAS
by Willy Tarreau
· 6 years ago
e18db9e
MEDIUM: pools: implement a thread-local cache for pool entries
by Willy Tarreau
· 6 years ago
0a93b64
MINOR: pools: allocate most memory pools from an array
by Willy Tarreau
· 6 years ago
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· 6 years ago
f161d0f
BUG/MINOR: pools/threads: don't ignore DEBUG_UAF on double-word CAS capable archs
by Willy Tarreau
· 7 years ago
cf975d4
MINOR: pools/threads: Implement lockless memory pools.
by Olivier Houchard
· 7 years ago
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· 7 years ago
f13322e
MINOR: pools: prepare functions to override malloc/free in pools
by Willy Tarreau
· 7 years ago
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· 7 years ago
b349e48
MEDIUM: threads/pool: Make pool thread-safe by locking all access to a pool
by Christopher Faulet
· 7 years ago
06d80a9
REORG: channel: finally rename the last bi_* / bo_* functions
by Willy Tarreau
· 7 years ago
b781dbe
MINOR: memory: remove macros
by David Carlier
· 7 years ago
e9ecec8
CLEANUP: memory: remove the now unused cli_parse_show_pools() function
by Willy Tarreau
· 8 years ago
e7ed885
REORG: cli: move 'show pools' to memory.c
by William Lallemand
· 8 years ago
581bf81
MEDIUM: pools: add a new flag to avoid rounding pool size up
by Willy Tarreau
· 9 years ago
58102cf
MEDIUM: memory: add accounting for failed allocations
by Willy Tarreau
· 9 years ago
de30a68
DEBUG/MEDIUM: memory: add optional control pool memory operations
by Willy Tarreau
· 9 years ago
ac42111
DEBUG/MEDIUM: memory: optionally protect free data in pools
by Willy Tarreau
· 9 years ago
067ac9f
MINOR: debug: enable memory poisonning to use byte 0
by Willy Tarreau
· 9 years ago
a885f6d
MEDIUM: memory: improve pool_refill_alloc() to pass a refill count
by Willy Tarreau
· 10 years ago
0262241
MINOR: memory: cut pool allocator in 3 layers
by Willy Tarreau
· 10 years ago
57767b8
BUG/MEDIUM: memory: fix freeing logic in pool_gc2()
by Willy Tarreau
· 10 years ago
12833bb
MINOR: cli: add the new "show pools" command
by Willy Tarreau
· 11 years ago
6e06443
MEDIUM: memory: add the ability to poison memory at run time
by Willy Tarreau
· 12 years ago
b7f9d12
[MEDIUM] ensure we don't recursively call pool_gc2()
by Willy Tarreau
· 16 years ago
1772ece
[MINOR] fix several printf formats and missing arguments
by Willy Tarreau
· 16 years ago
a643baf
[MEDIUM] Fix memory freeing at exit
by Krzysztof Piotr Oledzki
· 16 years ago
dae4aa8
[BUG] fix segfault at exit when using captures
by Willy Tarreau
· 17 years ago
4d2d098
[MAJOR] call garbage collector when doing soft stop
by Willy Tarreau
· 17 years ago
7dcd46d
[MEDIUM] enhance behaviour of mempools v2
by Willy Tarreau
· 17 years ago
e6ce59d
[MEDIUM] add new memory management functions
by Willy Tarreau
· 17 years ago
50e608d
[MEDIUM] implement memory pools version 2
by Willy Tarreau
· 17 years ago