Skip to contentSkip to conversation

mm-zswap-change-per-cpu-mutex-and-buffer-to-per-acomp_ctx.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Dec 29, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/zswap: change per-cpu mutex and buffer to per-acomp_ctx
has been removed from the -mm tree. Its filename was
mm-zswap-change-per-cpu-mutex-and-buffer-to-per-acomp_ctx.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Chengming Zhou <[email protected]>
Subject: mm/zswap: change per-cpu mutex and buffer to per-acomp_ctx
Date: Thu, 28 Dec 2023 09:45:46 +0000

First of all, we need to rename acomp_ctx->dstmem field to buffer, since we are now using for purposes other than compression.

Then we change per-cpu mutex and buffer to per-acomp_ctx, since them belong to the acomp_ctx and are necessary parts when used in the compress/decompress contexts.

So we can remove the old per-cpu mutex and dstmem.

---

 include/linux/cpuhotplug.h |    1 
 mm/zswap.c                 |  104 +++++++++++------------------------
 2 files changed, 33 insertions(+), 72 deletions(-)
include/linux/cpuhotplug.h renamed from include/linux/cpuhotplug.h~mm-zswap-change-per-cpu-mutex-and-buffer-to-per-acomp_ctx +0 -1
@@ -124,7 +124,6 @@ enum cpuhp_state {
 	CPUHP_ARM_BL_PREPARE,
 	CPUHP_TRACE_RB_PREPARE,
 	CPUHP_MM_ZS_PREPARE,
-	CPUHP_MM_ZSWP_MEM_PREPARE,
 	CPUHP_MM_ZSWP_POOL_PREPARE,
 	CPUHP_KVM_PPC_BOOK3S_PREPARE,
 	CPUHP_ZCOMP_PREPARE,
mm/zswap.c renamed from mm/zswap.c~mm-zswap-change-per-cpu-mutex-and-buffer-to-per-acomp_ctx +33 -71

195 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are