Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
1b85785bc218aaa6583429ea5dfb55abe8c3489d
/
include
/
common
/
memory.h
1c7c0d6b
BUG/MAJOR: memory: Don't forget to unlock the rwlock if the pool is empty.
by Olivier Houchard
· Mon Feb 03 13:03:30 2020 +0100
04f5fe8
BUG/MEDIUM: memory: Add a rwlock before freeing memory.
by Olivier Houchard
· Sat Feb 01 17:49:31 2020 +0100
da52035
MINOR: memory: also poison the area on freeing
by Willy Tarreau
· Fri Nov 15 06:59:54 2019 +0100
229e739
BUG/MINOR: pools: don't mark the thread harmless if already isolated
by Willy Tarreau
· Thu Aug 08 07:38:19 2019 +0200
85b2cae
MINOR: pools: make the thread harmless during the mmap/munmap syscalls
by Willy Tarreau
· Thu Jul 04 16:18:23 2019 +0200
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
6a38b32
BUILD: threads: fix again the __ha_cas_dw() definition
by Willy Tarreau
· Sat May 11 18:04:24 2019 +0200
a1bd1fa
BUILD: use inttypes.h instead of stdint.h
by Willy Tarreau
· Fri Mar 29 17:26:33 2019 +0100
2087276
MEDIUM: memory: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· Fri Mar 08 18:53:35 2019 +0100
51e4741
MINOR: pools: Cast to volatile int * instead of int *.
by Olivier Houchard
· Sun Dec 16 00:58:28 2018 +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
a7280a1
BUILD: buffers: buf.h requires unistd to get ssize_t on libmusl
by Willy Tarreau
· Mon Nov 26 19:41:40 2018 +0100
8e9f453
BUG/MINOR: memory: make the thread-local cache allocator set the debugging link
by Willy Tarreau
· Sun Oct 28 20:09:12 2018 +0100
62975a7
BUG/MEDIUM: pools: Fix the usage of mmap()) with DEBUG_UAF.
by Olivier Houchard
· Sun Oct 21 01:33:11 2018 +0200
7a6ad88
BUILD: memory: fix free_list pointer declaration again for atomic CAS
by Willy Tarreau
· Sat Oct 20 17:37:38 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
146794d
MINOR: pools: split pool_free() in the lockfree variant
by Willy Tarreau
· Tue Oct 16 08:55:15 2018 +0200
0a93b64
MINOR: pools: allocate most memory pools from an array
by Willy Tarreau
· Tue Oct 16 07:58:39 2018 +0200
364d745
MINOR: debug/pools: make DEBUG_UAF also detect underflows
by Willy Tarreau
· Thu Feb 22 14:14:23 2018 +0100
5a9cce4
BUG/MINOR: debug/pools: properly handle out-of-memory when building with DEBUG_UAF
by Willy Tarreau
· Thu Feb 22 11:39:23 2018 +0100
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
05f6a43
CLEANUP: pools: Remove unused end label in memory.h
by Tim Duesterhus
· Tue Feb 20 00:49:46 2018 +0100
4ee76d0
BUILD/MINOR: memory: stdint is needed for uintptr_t
by David Carlier
· Sun Feb 18 19:36:42 2018 +0000
cf975d4
MINOR: pools/threads: Implement lockless memory pools.
by Olivier Houchard
· Wed Jan 24 18:38:31 2018 +0100
1ca1b70
CLEANUP: pools: align pools on a cache line
by Willy Tarreau
· Sun Nov 26 10:50:36 2017 +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
158fa75
MINOR: pools: implement DEBUG_UAF to detect use after free
by Willy Tarreau
· Wed Nov 22 15:47:29 2017 +0100
f13322e
MINOR: pools: prepare functions to override malloc/free in pools
by Willy Tarreau
· Wed Nov 22 10:50:54 2017 +0100
9dcf9b6
MINOR: threads: Use __decl_hathreads to declare locks
by Christopher Faulet
· Mon Nov 13 10:34:01 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
ae459fd
CLEANUP: memory: Remove unused function pool_destroy
by Christopher Faulet
· Mon Aug 28 14:28:44 2017 +0200
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
a84dcb8
DEBUG/MINOR: memory: add a build option to disable memory pools sharing
by Willy Tarreau
· Wed Oct 28 12:04:02 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
e430e77
CLEANUP: memory: replace macros pool_alloc2/pool_free2 with functions
by Willy Tarreau
· Tue Dec 23 14:13:16 2014 +0100
62405a2
CLEANUP: memory: remove dead code
by Willy Tarreau
· Tue Dec 23 13:51:28 2014 +0100
23a5c39
DEBUG: pools: apply poisonning on every allocated pool
by Willy Tarreau
· Tue Nov 25 13:45:16 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
f8f3328
[BUILD] memory: add a few missing parenthesis to the pool management macros
by Willy Tarreau
· Sun Jun 06 12:07:32 2010 +0200
48d63db
[MEDIUM] memory: update pool_free2() to support NULL pointers
by Willy Tarreau
· Sun Aug 03 17:41:33 2008 +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
cf7f320
[MAJOR] last bunch of capture changes for mempool v2
by Willy Tarreau
· Sun May 13 22:46:04 2007 +0200
332f8bf
[MAJOR] ported requri to use mempools v2
by Willy Tarreau
· Sun May 13 21:36:56 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
2dd0d47
[CLEANUP] renamed include/haproxy to include/common
by Willy Tarreau
· Thu Jun 29 17:53:05 2006 +0200
[Renamed (96%) from include/haproxy/memory.h]
baaee00
[BIGMOVE] exploded the monolithic haproxy.c file into multiple files.
by Willy Tarreau
· Mon Jun 26 02:48:02 2006 +0200