[PATCH 0/3] mm/zsmalloc: fix and optimize objects/page migration

From: Chengming Zhou
Date: Mon Feb 19 2024 - 08:34:31 EST


Hello,

This series is to fix and optimize the zsmalloc objects/page migration.

patch 01 fix the empty migrate_write_lock() when !CONFIG_COMPACTION.
patch 02 remove the migrate_write_lock_nested() in objects migration.
patch 03 remove the unused zspage->isolated counter in page migration.

Thanks for review and comments!

Signed-off-by: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>
---
Chengming Zhou (3):
mm/zsmalloc: fix migrate_write_lock() when !CONFIG_COMPACTION
mm/zsmalloc: remove migrate_write_lock_nested()
mm/zsmalloc: remove unused zspage->isolated

mm/zsmalloc.c | 63 ++++++++---------------------------------------------------
1 file changed, 8 insertions(+), 55 deletions(-)
---
base-commit: 9951769060d8f5eb001acaca67c1439d2cfe1c6b
change-id: 20240219-b4-szmalloc-migrate-92971221bb01

Best regards,
--
Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>