diff options
author | SeongJae Park <sj@kernel.org> | 2021-12-11 01:46:28 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-12-11 04:10:55 +0300 |
commit | 4de46a30b9929d3d1b29e481d48e9c25f8ac7919 (patch) | |
tree | 41c5f5db9adaec68ab433e0f943c3421840412ea /mm/list_lru.c | |
parent | 70e9274805fccfd175d0431a947bfd11ee7df40e (diff) | |
download | linux-4de46a30b9929d3d1b29e481d48e9c25f8ac7919.tar.xz |
mm/damon/core: use better timer mechanisms selection threshold
Patch series "mm/damon: Trivial fixups and improvements".
This patchset contains trivial fixups and improvements for DAMON and its
kunit/kselftest tests.
This patch (of 11):
DAMON is using hrtimer if requested sleep time is <=100ms, while the
suggested threshold[1] is <=20ms. This commit applies the threshold.
[1] Documentation/timers/timers-howto.rst
Link: https://lkml.kernel.org/r/20211201150440.1088-2-sj@kernel.org
Fixes: ee801b7dd7822 ("mm/damon/schemes: activate schemes based on a watermarks mechanism")
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/list_lru.c')
0 files changed, 0 insertions, 0 deletions