Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mm/zswap: fix typos: s/zwap/zswap/

As the subject says.

Link: https://lkml.kernel.org/r/20251003203851.43128-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Acked-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Acked-by: Nhat Pham <nphamcs@gmail.com>
Reviewed-by: Chengming Zhou <chengming.zhou@linux.dev>
Cc: Chris Li <chrisl@kernel.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

SeongJae Park and committed by
Andrew Morton
f7ed6bf2 138336d6

+3 -3
+1 -1
mm/memcontrol.c
··· 5443 5443 * @size: size of compressed object 5444 5444 * 5445 5445 * This forces the charge after obj_cgroup_may_zswap() allowed 5446 - * compression and storage in zwap for this cgroup to go ahead. 5446 + * compression and storage in zswap for this cgroup to go ahead. 5447 5447 */ 5448 5448 void obj_cgroup_charge_zswap(struct obj_cgroup *objcg, size_t size) 5449 5449 {
+2 -2
mm/zswap.c
··· 879 879 * acomp instance, then get those requests done simultaneously. but in this 880 880 * case, zswap actually does store and load page by page, there is no 881 881 * existing method to send the second page before the first page is done 882 - * in one thread doing zwap. 882 + * in one thread doing zswap. 883 883 * but in different threads running on different cpu, we have different 884 884 * acomp instance, so multiple threads can do (de)compression in parallel. 885 885 */ ··· 1128 1128 * 1129 1129 * 1. We extract the swp_entry_t to the stack, allowing 1130 1130 * zswap_writeback_entry() to pin the swap entry and 1131 - * then validate the zwap entry against that swap entry's 1131 + * then validate the zswap entry against that swap entry's 1132 1132 * tree using pointer value comparison. Only when that 1133 1133 * is successful can the entry be dereferenced. 1134 1134 *