mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
mm/damon: document that a zero sample_interval is accepted
damon_set_attrs() accepts sample_interval == 0. This was reported as a bug in v1 of this patch (rejecting it in damon_set_attrs()). A similar patch was already declined for the same reason: a zero interval is intentionally supported [1]. Document the behavior instead of changing it. Link: https://lore.kernel.org/20260921151547.78472-5-sj@kernel.org Link: https://lore.kernel.org/all/20260722094304.3132750-1-dayou5941@163.com/ [1] Signed-off-by: Karthikeyan KS <karthiproffesional@gmail.com> Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: SJ Park <sj@kernel.org> Cc: Adrian Huang <adrianhuang0701@gmail.com> Cc: Liew Rui Yan <aethernet65535@gmail.com> Cc: Xuewen Wang <wangxuewen@kylinos.cn> Cc: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
This commit is contained in:
parent
76ba2763d5
commit
6fbcf40619
|
|
@ -836,7 +836,8 @@ struct damon_probe {
|
|||
/**
|
||||
* struct damon_attrs - Monitoring attributes for accuracy/overhead control.
|
||||
*
|
||||
* @sample_interval: The time between access samplings.
|
||||
* @sample_interval: The time between access samplings. Zero is
|
||||
* accepted.
|
||||
* @aggr_interval: The time between monitor results aggregations.
|
||||
* @ops_update_interval: The time between monitoring operations updates.
|
||||
* @intervals_goal: Intervals auto-tuning goal.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user