File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ extern int pool_trim_in_progress;
106106/* set of POOL_DBG_* flags */
107107extern uint pool_debugging ;
108108
109+ /* pools are listed here */
110+ extern struct list pools ;
111+
109112int malloc_trim (size_t pad );
110113void trim_all_pools (void );
111114
Original file line number Diff line number Diff line change 3636THREAD_LOCAL size_t pool_cache_bytes = 0 ; /* total cache size */
3737THREAD_LOCAL size_t pool_cache_count = 0 ; /* #cache objects */
3838
39- static struct list pools __read_mostly = LIST_HEAD_INIT (pools );
39+ struct list pools __read_mostly = LIST_HEAD_INIT (pools );
4040int mem_poison_byte __read_mostly = 'P' ;
4141int pool_trim_in_progress = 0 ;
4242uint pool_debugging __read_mostly = /* set of POOL_DBG_* flags */
You can’t perform that action at this time.
0 commit comments