Docs/admin-guide/mm/zswap: remove zsmalloc's lack of writeback warning

commit 1beb8ae302a01fb487787f5a4fb97cf5338a86c1
Author: Nhat Pham <nphamcs@gmail.com>
Date:   Fri Jan 6 14:00:16 2023 -0800

    Docs/admin-guide/mm/zswap: remove zsmalloc's lack of writeback warning

    Writeback has been implemented for zsmalloc, so this warning no longer
    holds.

    Link: https://lkml.kernel.org/r/20230106220016.172303-1-nphamcs@gmail.com
    Fixes: 9997bc017549a ("zsmalloc: implement writeback mechanism for zsmalloc")
    Suggested-by: Thomas Weißschuh <linux@weissschuh.net>
    Signed-off-by: Nhat Pham <nphamcs@gmail.com>
    Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

JIRA: https://issues.redhat.com/browse/RHEL-5619
Signed-off-by: Nico Pache <npache@redhat.com>
This commit is contained in:
Nico Pache 2024-04-15 19:04:28 -06:00
parent e7cf2d0fc3
commit 2435935842
1 changed files with 1 additions and 3 deletions

View File

@ -76,9 +76,7 @@ e.g. ``zswap.zpool=zbud``. It can also be changed at runtime using the sysfs
The zbud type zpool allocates exactly 1 page to store 2 compressed pages, which
means the compression ratio will always be 2:1 or worse (because of half-full
zbud pages). The zsmalloc type zpool has a more complex compressed page
storage method, and it can achieve greater storage densities. However,
zsmalloc does not implement compressed page eviction, so once zswap fills it
cannot evict the oldest page, it can only reject new pages.
storage method, and it can achieve greater storage densities.
When a swap page is passed from frontswap to zswap, zswap maintains a mapping
of the swap entry, a combination of the swap type and swap offset, to the zpool