mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-15 21:27:18 +03:00
SC: Add page customization functionality.
This commit is contained in:
parent
017dca198c
commit
a7f68aed3e
4 changed files with 82 additions and 0 deletions
|
|
@ -297,6 +297,12 @@ struct sc_data_s {
|
|||
|
||||
extern sc_data_t sc_data_global;
|
||||
void sc_data_init(sc_data_t *data);
|
||||
/*
|
||||
* Updates slab sizes in [begin, end] to be pgs pages in length, if possible.
|
||||
* Otherwise, does its best to accomodate the request.
|
||||
*/
|
||||
void sc_data_update_slab_size(sc_data_t *data, size_t begin, size_t end,
|
||||
int pgs);
|
||||
void sc_boot();
|
||||
|
||||
#endif /* JEMALLOC_INTERNAL_SC_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue