From daf5b549f30536e85c982f4b570629929aa065d4 Mon Sep 17 00:00:00 2001 From: annie_wangli Date: Wed, 30 Mar 2022 16:20:31 +0800 Subject: [PATCH] update docs Signed-off-by: annie_wangli --- en/device-dev/kernel/kernel-standard-mm-eswap.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/en/device-dev/kernel/kernel-standard-mm-eswap.md b/en/device-dev/kernel/kernel-standard-mm-eswap.md index 5e348f166b..ce79330bb9 100644 --- a/en/device-dev/kernel/kernel-standard-mm-eswap.md +++ b/en/device-dev/kernel/kernel-standard-mm-eswap.md @@ -72,7 +72,7 @@ Enhanced Swap (ESwap) allows a custom partition to serve as a swap partition and ``` -> ![icon-note.gif](public_sys-resources/icon-note.gif)**NOTE**
+> ![icon-note.gif](../public_sys-resources/icon-note.gif)**NOTE**
> Enable ESwap before zram is enabled. If ESwap is not used, you can enable zram only. If a device does not have the storage device for swap-out or have the corresponding storage partition created, you can enable ZRAM to reclaim memory using **zswapd**. ### Enabling zram @@ -88,7 +88,7 @@ Enhanced Swap (ESwap) allows a custom partition to serve as a swap partition and echo 512M > /sys/block/zram0/disksize ``` - > ![icon-note.gif](public_sys-resources/icon-note.gif)**NOTE**
+ > ![icon-note.gif](../public_sys-resources/icon-note.gif)**NOTE**
> The parameters and functions of **/sys/block/zram0/group** are as follows: > > - **disable**: disables the function. @@ -115,7 +115,7 @@ Enhanced Swap (ESwap) allows a custom partition to serve as a swap partition and echo force_disable > /proc/sys/kernel/hyperhold/enable ``` - > ![icon-note.gif](public_sys-resources/icon-note.gif)**NOTE**
+ > ![icon-note.gif](../public_sys-resources/icon-note.gif)**NOTE**
> The difference of the two commands is as follows: > > - **disable**: If there is no data in the ESwap partition, disable ESwap. Otherwise, changes ESwap to read-only mode. @@ -143,7 +143,7 @@ ESwap provides APIs to control swap-in and swap-out policies and record the curr | | [stat](#stat) | Checks the real-time status of ESwap.| | | [zswapd_vmstat_show](#zswapd_vmstat_show) | Records events during the zswapd running.| -> ![icon-caution.gif](public_sys-resources/icon-caution.gif)**CAUTION**
+> ![icon-caution.gif](../public_sys-resources/icon-caution.gif)**CAUTION**
> Only **avail_buffers** proactively wakes up zswapd because the buffer waterline is adjusted. Other control APIs do not proactively wake up zswapd, but their configuration takes effect only after zswapd is woken up. The APIs are described as follows: -- GitLab