@@ -542,7 +542,6 @@ enum damon_ops_id {
542542 * @update: Update operations-related data structures.
543543 * @prepare_access_checks: Prepare next access check of target regions.
544544 * @check_accesses: Check the accesses to target regions.
545- * @reset_aggregated: Reset aggregated accesses monitoring results.
546545 * @get_scheme_score: Get the score of a region for a scheme.
547546 * @apply_scheme: Apply a DAMON-based operation scheme.
548547 * @target_valid: Determine if the target is valid.
@@ -554,8 +553,7 @@ enum damon_ops_id {
554553 * (&damon_ctx.kdamond) calls @init and @prepare_access_checks before starting
555554 * the monitoring, @update after each &damon_attrs.ops_update_interval, and
556555 * @check_accesses, @target_valid and @prepare_access_checks after each
557- * &damon_attrs.sample_interval. Finally, @reset_aggregated is called after
558- * each &damon_attrs.aggr_interval.
556+ * &damon_attrs.sample_interval.
559557 *
560558 * Each &struct damon_operations instance having valid @id can be registered
561559 * via damon_register_ops() and selected by damon_select_ops() later.
@@ -570,8 +568,6 @@ enum damon_ops_id {
570568 * last preparation and update the number of observed accesses of each region.
571569 * It should also return max number of observed accesses that made as a result
572570 * of its update. The value will be used for regions adjustment threshold.
573- * @reset_aggregated should reset the access monitoring results that aggregated
574- * by @check_accesses.
575571 * @get_scheme_score should return the priority score of a region for a scheme
576572 * as an integer in [0, &DAMOS_MAX_SCORE].
577573 * @apply_scheme is called from @kdamond when a region for user provided
@@ -589,7 +585,6 @@ struct damon_operations {
589585 void (* update )(struct damon_ctx * context );
590586 void (* prepare_access_checks )(struct damon_ctx * context );
591587 unsigned int (* check_accesses )(struct damon_ctx * context );
592- void (* reset_aggregated )(struct damon_ctx * context );
593588 int (* get_scheme_score )(struct damon_ctx * context ,
594589 struct damon_target * t , struct damon_region * r ,
595590 struct damos * scheme );
0 commit comments