Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
c22d5dfeb87057e54bb28069a0f79565261802cb
/
include
/
common
/
memory.h
da52035
MINOR: memory: also poison the area on freeing
by Willy Tarreau
· 5 years ago
229e739
BUG/MINOR: pools: don't mark the thread harmless if already isolated
by Willy Tarreau
· 5 years ago
85b2cae
MINOR: pools: make the thread harmless during the mmap/munmap syscalls
by Willy Tarreau
· 5 years 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
6a38b32
BUILD: threads: fix again the __ha_cas_dw() definition
by Willy Tarreau
· 6 years ago
a1bd1fa
BUILD: use inttypes.h instead of stdint.h
by Willy Tarreau
· 6 years ago
2087276
MEDIUM: memory: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· 6 years ago
51e4741
MINOR: pools: Cast to volatile int * instead of int *.
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
a7280a1
BUILD: buffers: buf.h requires unistd to get ssize_t on libmusl
by Willy Tarreau
· 6 years ago
8e9f453
BUG/MINOR: memory: make the thread-local cache allocator set the debugging link
by Willy Tarreau
· 6 years ago
62975a7
BUG/MEDIUM: pools: Fix the usage of mmap()) with DEBUG_UAF.
by Olivier Houchard
· 6 years ago
7a6ad88
BUILD: memory: fix free_list pointer declaration again for atomic CAS
by Willy Tarreau
· 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
146794d
MINOR: pools: split pool_free() in the lockfree variant
by Willy Tarreau
· 6 years ago
0a93b64
MINOR: pools: allocate most memory pools from an array
by Willy Tarreau
· 6 years ago
364d745
MINOR: debug/pools: make DEBUG_UAF also detect underflows
by Willy Tarreau
· 7 years ago
5a9cce4
BUG/MINOR: debug/pools: properly handle out-of-memory when building with DEBUG_UAF
by Willy Tarreau
· 7 years ago
f161d0f
BUG/MINOR: pools/threads: don't ignore DEBUG_UAF on double-word CAS capable archs
by Willy Tarreau
· 7 years ago
05f6a43
CLEANUP: pools: Remove unused end label in memory.h
by Tim Duesterhus
· 7 years ago
4ee76d0
BUILD/MINOR: memory: stdint is needed for uintptr_t
by David Carlier
· 7 years ago
cf975d4
MINOR: pools/threads: Implement lockless memory pools.
by Olivier Houchard
· 7 years ago
1ca1b70
CLEANUP: pools: align pools on a cache line
by Willy Tarreau
· 7 years ago
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· 7 years ago
158fa75
MINOR: pools: implement DEBUG_UAF to detect use after free
by Willy Tarreau
· 7 years ago
f13322e
MINOR: pools: prepare functions to override malloc/free in pools
by Willy Tarreau
· 7 years ago
9dcf9b6
MINOR: threads: Use __decl_hathreads to declare locks
by Christopher Faulet
· 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
ae459fd
CLEANUP: memory: Remove unused function pool_destroy
by Christopher Faulet
· 7 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
a84dcb8
DEBUG/MINOR: memory: add a build option to disable memory pools sharing
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
e430e77
CLEANUP: memory: replace macros pool_alloc2/pool_free2 with functions
by Willy Tarreau
· 10 years ago
62405a2
CLEANUP: memory: remove dead code
by Willy Tarreau
· 10 years ago
23a5c39
DEBUG: pools: apply poisonning on every allocated pool
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
· 13 years ago
f8f3328
[BUILD] memory: add a few missing parenthesis to the pool management macros
by Willy Tarreau
· 14 years ago
48d63db
[MEDIUM] memory: update pool_free2() to support NULL pointers
by Willy Tarreau
· 16 years ago
4d2d098
[MAJOR] call garbage collector when doing soft stop
by Willy Tarreau
· 18 years ago
7dcd46d
[MEDIUM] enhance behaviour of mempools v2
by Willy Tarreau
· 18 years ago
cf7f320
[MAJOR] last bunch of capture changes for mempool v2
by Willy Tarreau
· 18 years ago
332f8bf
[MAJOR] ported requri to use mempools v2
by Willy Tarreau
· 18 years ago
e6ce59d
[MEDIUM] add new memory management functions
by Willy Tarreau
· 18 years ago
50e608d
[MEDIUM] implement memory pools version 2
by Willy Tarreau
· 18 years ago
2dd0d47
[CLEANUP] renamed include/haproxy to include/common
by Willy Tarreau
· 18 years ago
[Renamed (96%) from include/haproxy/memory.h]
baaee00
[BIGMOVE] exploded the monolithic haproxy.c file into multiple files.
by Willy Tarreau
· 18 years ago