summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/smoothstep.h
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup smoothstep.sh / .h.Qi Wang2017-05-251-201/+201
| | | | h_step_sum was used to compute moving sum. Not in use anymore.
* Implementing opt.background_thread.Qi Wang2017-05-231-201/+201
| | | | | | | | | | | Added opt.background_thread to enable background threads, which handles purging currently. When enabled, decay ticks will not trigger purging (which will be left to the background threads). We limit the max number of threads to NCPUs. When percpu arena is enabled, set CPU affinity for the background threads as well. The sleep interval of background threads is dynamic and determined by computing number of pages to purge in the future (based on backlog).
* Replace tabs following #define with spaces.Jason Evans2017-01-211-4/+4
| | | | This resolves #564.
* Break up headers into constituent partsDavid Goldblatt2017-01-121-18/+4
| | | | | | | | | | This is part of a broader change to make header files better represent the dependencies between one another (see https://github.com/jemalloc/jemalloc/issues/533). It breaks up component headers into smaller parts that can be made to have a simpler dependency graph. For the autogenerated headers (smoothstep.h and size_classes.h), no splitting was necessary, so I didn't add support to emit multiple headers.
* Implement smoothstep table generation.Jason Evans2016-02-201-0/+246
Check in a generated smootherstep table as smoothstep.h rather than generating it at configure time, since not all systems (e.g. Windows) have dc.