@@ -542,7 +542,6 @@ enum damon_ops_id {
542
542
* @update: Update operations-related data structures.
543
543
* @prepare_access_checks: Prepare next access check of target regions.
544
544
* @check_accesses: Check the accesses to target regions.
545
- * @reset_aggregated: Reset aggregated accesses monitoring results.
546
545
* @get_scheme_score: Get the score of a region for a scheme.
547
546
* @apply_scheme: Apply a DAMON-based operation scheme.
548
547
* @target_valid: Determine if the target is valid.
@@ -554,8 +553,7 @@ enum damon_ops_id {
554
553
* (&damon_ctx.kdamond) calls @init and @prepare_access_checks before starting
555
554
* the monitoring, @update after each &damon_attrs.ops_update_interval, and
556
555
* @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.
559
557
*
560
558
* Each &struct damon_operations instance having valid @id can be registered
561
559
* via damon_register_ops() and selected by damon_select_ops() later.
@@ -570,8 +568,6 @@ enum damon_ops_id {
570
568
* last preparation and update the number of observed accesses of each region.
571
569
* It should also return max number of observed accesses that made as a result
572
570
* 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.
575
571
* @get_scheme_score should return the priority score of a region for a scheme
576
572
* as an integer in [0, &DAMOS_MAX_SCORE].
577
573
* @apply_scheme is called from @kdamond when a region for user provided
@@ -589,7 +585,6 @@ struct damon_operations {
589
585
void (* update )(struct damon_ctx * context );
590
586
void (* prepare_access_checks )(struct damon_ctx * context );
591
587
unsigned int (* check_accesses )(struct damon_ctx * context );
592
- void (* reset_aggregated )(struct damon_ctx * context );
593
588
int (* get_scheme_score )(struct damon_ctx * context ,
594
589
struct damon_target * t , struct damon_region * r ,
595
590
struct damos * scheme );
0 commit comments