Lines Matching +full:re +full:- +full:tuning
1 // SPDX-License-Identifier: GPL-2.0
3 * DAMON-based page reclamation
8 #define pr_fmt(fmt) "damon-reclaim: " fmt
14 #include "modules-common.h"
26 * do no real monitoring and reclamation due to the watermarks-based activation
37 * of parametrs except ``enabled`` again. Once the re-reading is done, this
39 * re-reading, DAMON_RECLAIM will be disabled.
66 * Desired level of memory pressure-stall time in microseconds.
70 * memory pressure is incurred. System-wide ``some`` memory PSI in microseconds
73 * disabling this auto-tuning feature.
81 * User-specifiable feedback for auto-tuning of the effective quota.
87 * this auto-tuning feature.
144 * Else, -1.
146 static int kdamond_pid __read_mostly = -1;
165 /* for min_age or more micro-seconds */ in damon_reclaim_new_scheme()
201 err = -ENOMEM; in damon_reclaim_apply_parameters()
212 damos_add_quota_goal(&scheme->quota, goal); in damon_reclaim_apply_parameters()
219 goal->current_value = quota_autotune_feedback; in damon_reclaim_apply_parameters()
220 damos_add_quota_goal(&scheme->quota, goal); in damon_reclaim_apply_parameters()
248 kdamond_pid = -1; in damon_reclaim_turn()
259 kdamond_pid = ctx->kdamond->pid; in damon_reclaim_turn()
317 damon_reclaim_stat = s->stat; in damon_reclaim_after_aggregation()
334 ctx->callback.after_wmarks_check = damon_reclaim_after_wmarks_check; in damon_reclaim_init()
335 ctx->callback.after_aggregation = damon_reclaim_after_aggregation; in damon_reclaim_init()