SeongJae Park 2b8a248d58 mm/damon/schemes: implement size quota for schemes application speed control
There could be arbitrarily large memory regions fulfilling the target
data access pattern of a DAMON-based operation scheme.  In the case,
applying the action of the scheme could incur too high overhead.  To
provide an intuitive way for avoiding it, this implements a feature
called size quota.  If the quota is set, DAMON tries to apply the action
only up to the given amount of memory regions within a given time
window.

Link: https://lkml.kernel.org/r/20211019150731.16699-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Amit Shah <amit@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: David Woodhouse <dwmw@amazon.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Leonard Foerster <foersleo@amazon.de>
Cc: Marco Elver <elver@google.com>
Cc: Markus Boehme <markubo@amazon.de>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-11-06 13:30:45 -07:00
..
2021-04-26 16:32:11 -07:00
2021-09-02 22:49:16 +02:00
2021-07-21 19:54:21 -07:00
2021-08-13 09:38:04 +02:00
2021-09-07 12:38:59 -07:00
2021-08-31 16:43:06 -07:00
2021-07-05 11:21:51 -07:00
2021-09-20 12:43:34 +01:00
2021-09-01 15:25:28 -07:00
2021-06-03 14:04:18 -07:00
2021-09-01 10:29:29 -07:00
2021-08-29 14:47:42 +03:00
2021-09-04 10:25:26 -07:00
2021-05-06 19:24:11 -07:00
2021-10-07 16:51:57 +02:00
2021-04-14 16:30:30 +03:00
2021-08-31 09:41:22 -07:00
2021-08-31 09:41:22 -07:00
2021-09-02 15:09:46 -07:00
2021-05-24 21:13:05 -07:00
2021-08-16 10:50:32 -06:00
2021-04-08 16:04:20 -07:00
2021-09-08 15:32:35 -07:00
2021-08-26 16:52:03 -07:00
2021-07-20 09:20:49 -07:00
2021-09-07 21:17:28 +02:00
2021-03-22 03:57:39 +01:00
2021-08-26 15:32:28 -04:00
2021-07-23 11:32:43 +10:00
2021-07-27 11:00:36 +02:00
2021-09-06 07:20:56 -04:00
2021-04-12 15:04:23 +02:00
2021-06-25 19:57:01 -04:00
2021-07-26 15:09:44 +02:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:44 +01:00
2021-08-05 11:46:42 +01:00
2021-04-30 11:20:40 -07:00
2021-08-16 21:26:33 -07:00
2021-09-03 10:44:35 -07:00
2021-04-26 15:03:23 -07:00
2021-07-27 17:05:06 +01:00
2021-07-27 09:29:15 +02:00
2021-06-01 10:29:21 +01:00
2021-07-02 12:54:34 -07:00
2021-09-23 11:01:12 -04:00
2021-05-12 20:11:17 +02:00
2021-06-17 13:09:27 -04:00
2021-06-15 17:46:57 +02:00
2021-07-01 11:06:02 -07:00
2021-09-01 08:35:06 -07:00
2021-06-29 10:53:53 -07:00
2021-07-01 11:06:05 -07:00
2021-08-23 13:19:12 +02:00
2021-09-07 12:27:27 -07:00
2021-09-17 13:52:17 +01:00
2021-09-07 19:13:42 -07:00
2021-06-16 17:20:40 -05:00
2021-07-06 10:37:46 -05:00
2021-09-07 19:13:42 -07:00
2021-09-07 19:13:42 -07:00
2021-07-20 06:55:20 -07:00
2021-06-07 14:11:47 -07:00
2021-08-18 22:08:24 +02:00
2021-09-03 15:33:47 -07:00
2021-03-06 12:40:22 +01:00
2021-09-02 21:38:56 +02:00
2021-10-07 16:51:57 +02:00
2021-05-05 13:24:11 -07:00
2021-03-17 14:16:15 -05:00
2021-08-17 17:50:51 +02:00
2021-03-18 12:58:27 -04:00
2021-11-06 13:30:43 -07:00
2021-08-31 16:43:06 -07:00
2021-05-10 16:03:35 -07:00
2021-08-06 13:41:48 -07:00
2021-08-19 09:02:55 +09:00
2021-06-24 15:49:32 +02:00
2021-08-19 09:02:55 +09:00
2021-07-01 11:06:03 -07:00
2021-09-09 13:25:49 -07:00
2021-09-05 11:50:41 -07:00
2021-07-27 12:17:21 +02:00
2021-07-27 12:12:08 +02:00
2021-09-08 15:32:35 -07:00
2021-03-30 17:06:49 -07:00
2021-09-15 09:22:35 -06:00
2021-08-10 11:50:55 -04:00
2021-08-11 06:44:24 -04:00
2021-08-30 13:42:10 -07:00
2021-03-30 13:42:33 -04:00