mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 01:32:21 +02:00
Docs/mm/damon/design: fix three typos
L140: "unsinged" -> "unsigned" L371: "sampleing" -> "sampling" L387: "multipled" -> "multiplied" Link: https://lore.kernel.org/20260520012104.93602-3-sj@kernel.org Signed-off-by: Sakurai Shun <ssh1326@icloud.com> Signed-off-by: SeongJae Park <sj@kernel.org> Reviewed-by: Lorenzo Stoakes <ljs@kernel.org> Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Reviewed-by: SeongJae Park <sj@kernel.org> Cc: David Hildenbrand <david@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Liam R. Howlett <liam@infradead.org> Cc: Michal Hocko <mhocko@suse.com> Cc: niecheng <niecheng1@uniontech.com> Cc: Shuah Khan <skhan@linuxfoundation.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@kernel.org> Cc: Zenghui Yu <zenghui.yu@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
e186709b0a
commit
de5480aeff
|
|
@ -147,7 +147,7 @@ as Idle page tracking does.
|
|||
Address Unit
|
||||
------------
|
||||
|
||||
DAMON core layer uses ``unsinged long`` type for monitoring target address
|
||||
DAMON core layer uses ``unsigned long`` type for monitoring target address
|
||||
ranges. In some cases, the address space for a given operations set could be
|
||||
too large to be handled with the type. ARM (32-bit) with large physical
|
||||
address extension is an example. For such cases, a per-operations set
|
||||
|
|
@ -417,7 +417,7 @@ with theoretical maximum ``nr_accesses``, which can be calculated as
|
|||
``aggregation interval / sampling interval``.
|
||||
|
||||
The mechanism calculates the ratio of access events for ``aggrs`` aggregations,
|
||||
and increases or decrease the ``sampleing interval`` and ``aggregation
|
||||
and increases or decrease the ``sampling interval`` and ``aggregation
|
||||
interval`` in same ratio, if the observed access ratio is lower or higher than
|
||||
the target, respectively. The ratio of the intervals change is decided in
|
||||
proportion to the distance between current samples ratio and the target ratio.
|
||||
|
|
@ -433,7 +433,7 @@ The tuning is turned off by default, and need to be set explicitly by the user.
|
|||
As a rule of thumbs and the Parreto principle, 4% access samples ratio target
|
||||
is recommended. Note that Parreto principle (80/20 rule) has applied twice.
|
||||
That is, assumes 4% (20% of 20%) DAMON-observed access events ratio (source)
|
||||
to capture 64% (80% multipled by 80%) real access events (outcomes).
|
||||
to capture 64% (80% multiplied by 80%) real access events (outcomes).
|
||||
|
||||
To know how user-space can use this feature via :ref:`DAMON sysfs interface
|
||||
<sysfs_interface>`, refer to :ref:`intervals_goal
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user