提交 3cf94fe8 编写于 作者: S SeongJae Park 提交者: Zheng Zengkai

mm/damon: remove a mistakenly added comment for a future feature

mainline inclusion
from mainline-v5.17-rc1
commit f4c6d22c
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4RTX9

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f4c6d22c6cf282ef7d24a724b9bd978ee2b74fc6

--------------------------------

Due to a mistake in patches reordering, a comment for a future feature
called 'arbitrary monitoring target support'[1], which is still under
development, has added.  Because it only introduces confusion and we
don't have a plan to post the patches soon, this commit removes the
mistakenly added part.

[1] https://lore.kernel.org/linux-mm/20201215115448.25633-3-sjpark@amazon.com/

Link: https://lkml.kernel.org/r/20211209131806.19317-7-sj@kernel.org
Fixes: 1f366e42 ("mm/damon/core: implement DAMON-based Operation Schemes (DAMOS)")
Signed-off-by: NSeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit f4c6d22c)
Signed-off-by: NYue Zou <zouyue3@huawei.com>
Reviewed-by: Kefeng Wang<wangkefeng.wang@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 e8eba3e8
...@@ -281,7 +281,7 @@ struct damon_ctx; ...@@ -281,7 +281,7 @@ struct damon_ctx;
* as an integer in [0, &DAMOS_MAX_SCORE]. * as an integer in [0, &DAMOS_MAX_SCORE].
* @apply_scheme is called from @kdamond when a region for user provided * @apply_scheme is called from @kdamond when a region for user provided
* DAMON-based operation scheme is found. It should apply the scheme's action * DAMON-based operation scheme is found. It should apply the scheme's action
* to the region. This is not used for &DAMON_ARBITRARY_TARGET case. * to the region.
* @target_valid should check whether the target is still valid for the * @target_valid should check whether the target is still valid for the
* monitoring. * monitoring.
* @cleanup is called from @kdamond just before its termination. * @cleanup is called from @kdamond just before its termination.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册