* + docs-admin-guide-mm-zswap-remove-zsmallocs-lack-of-writeback-warning.patch added to mm-hotfixes-unstable branch
@ 2023-01-06 23:54 Andrew Morton
2023-01-07 3:32 ` Sergey Senozhatsky
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2023-01-06 23:54 UTC (permalink / raw)
To: mm-commits, senozhatsky, linux, hannes, corbet, nphamcs, akpm
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2968 bytes --]
The patch titled
Subject: Docs/admin-guide/mm/zswap: remove zsmalloc's lack of writeback warning
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
docs-admin-guide-mm-zswap-remove-zsmallocs-lack-of-writeback-warning.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/docs-admin-guide-mm-zswap-remove-zsmallocs-lack-of-writeback-warning.patch
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Nhat Pham <nphamcs@gmail.com>
Subject: Docs/admin-guide/mm/zswap: remove zsmalloc's lack of writeback warning
Date: Fri, 6 Jan 2023 14:00:16 -0800
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>
Cc: 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>
---
Documentation/admin-guide/mm/zswap.rst | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--- a/Documentation/admin-guide/mm/zswap.rst~docs-admin-guide-mm-zswap-remove-zsmallocs-lack-of-writeback-warning
+++ a/Documentation/admin-guide/mm/zswap.rst
@@ -70,9 +70,7 @@ e.g. ``zswap.zpool=zbud``. It can also b
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
_
Patches currently in -mm which might be from nphamcs@gmail.com are
docs-admin-guide-mm-zswap-remove-zsmallocs-lack-of-writeback-warning.patch
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: + docs-admin-guide-mm-zswap-remove-zsmallocs-lack-of-writeback-warning.patch added to mm-hotfixes-unstable branch
2023-01-06 23:54 + docs-admin-guide-mm-zswap-remove-zsmallocs-lack-of-writeback-warning.patch added to mm-hotfixes-unstable branch Andrew Morton
@ 2023-01-07 3:32 ` Sergey Senozhatsky
0 siblings, 0 replies; 2+ messages in thread
From: Sergey Senozhatsky @ 2023-01-07 3:32 UTC (permalink / raw)
To: Andrew Morton; +Cc: mm-commits, senozhatsky, linux, hannes, corbet, nphamcs
On (23/01/06 15:54), Andrew Morton wrote:
> 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>
> Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-07 3:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-06 23:54 + docs-admin-guide-mm-zswap-remove-zsmallocs-lack-of-writeback-warning.patch added to mm-hotfixes-unstable branch Andrew Morton
2023-01-07 3:32 ` Sergey Senozhatsky
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.