Remove experimental_hpa_max_purge_nhp option

It is unused and no longer needed: hpa_dirty_mult, hpa_purge_threshold,
hpa_min_purge_interval_ms, and hpa_min_purge_delay_ms now provide finer
control over the purge rate.
This commit is contained in:
Schalk Krüger 2026-06-26 13:53:05 -07:00 committed by Slobodan Predolac
parent db15a39d75
commit 43a8adc187
12 changed files with 2 additions and 118 deletions

View file

@ -108,11 +108,6 @@ struct hpa_shard_opts_s {
*/
uint64_t min_purge_interval_ms;
/*
* Maximum number of hugepages to purge on each purging attempt.
*/
ssize_t experimental_max_purge_nhp;
/*
* Minimum number of inactive bytes needed for a non-empty page to be
* considered purgable.
@ -176,8 +171,6 @@ struct hpa_shard_opts_s {
false, \
/* min_purge_interval_ms */ \
5 * 1000, \
/* experimental_max_purge_nhp */ \
-1, \
/* size_t purge_threshold */ \
PAGE, \
/* min_purge_delay_ms */ \