* @ctx: monitoring context
* @attrs: monitoring attributes
*
- * This function should be called while the kdamond is not running, an access
- * check results aggregation is not ongoing (e.g., from damon_call().
+ * This function updates monitoring results and next monitoring/damos operation
+ * schedules. Because those are periodically updated by kdamond, this should
+ * be called from a safe contexts. Such contexts include damon_ctx setup time
+ * while the kdamond is not yet started, and inside of kdamond_fn().
+ *
+ * In detail, all DAMON API callers directly call this function for initial
+ * setup of damon_ctx before calling damon_start(). Some of the API callers
+ * also indirectly call this function via damon_call() -> damon_commit() for
+ * online parameters updates. Finally, kdamond_fn() itself use this for
+ * applying auto-tuned monitoring intervals.
*
* Every time interval is in micro-seconds.
*