]> Git Repo - linux.git/blobdiff - mm/damon/core.c
mm/damon/core: fix a comment about damon_set_attrs() call timings
[linux.git] / mm / damon / core.c
index bcd2bd9d6c104f234f699a236e2e40f83cd19a07..9160a0674affc9d45b7083f273a0682ebe056f69 100644 (file)
@@ -541,7 +541,11 @@ static void damon_update_monitoring_results(struct damon_ctx *ctx,
  * @ctx:               monitoring context
  * @attrs:             monitoring attributes
  *
- * This function should not be called while the kdamond is running.
+ * This function should be called while the kdamond is not running, or an
+ * access check results aggregation is not ongoing (e.g., from
+ * &struct damon_callback->after_aggregation or
+ * &struct damon_callback->after_wmarks_check callbacks).
+ *
  * Every time interval is in micro-seconds.
  *
  * Return: 0 on success, negative error code otherwise.
This page took 0.031497 seconds and 4 git commands to generate.