blob: 0e7dd2e80ec22c3ea0357b2e346b07dbab5e4b4f [file] [log] [blame]
From: SeongJae Park <sj@kernel.org>
Subject: Docs/mm/damon/design: add a section for overall architecture
Date: Thu, 25 May 2023 21:43:07 +0000
The design doc is missing overall picture of DAMON. Add a section for
overall architeucture and layers.
Link: https://lkml.kernel.org/r/20230525214314.5204-4-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
Documentation/mm/damon/design.rst | 15 +++++++++++++++
1 file changed, 15 insertions(+)
--- a/Documentation/mm/damon/design.rst~docs-mm-damon-design-add-a-section-for-overall-architecture
+++ a/Documentation/mm/damon/design.rst
@@ -4,6 +4,21 @@
Design
======
+
+Overall Architecture
+====================
+
+DAMON subsystem is configured with three layers including
+
+- Operations Set: Implements fundamental operations for DAMON that depends on
+ the given monitoring target address-space and available set of
+ software/hardware primitives,
+- Core: Implements core logics including monitoring overhead/accurach control
+ and access-aware system operations on top of the operations set layer, and
+- Modules: Implements kernel modules for various purposes that provides
+ interfaces for the user space, on top of the core layer.
+
+
Configurable Layers
===================
_