RESEND: - The sent patches were put into spam folder because of my mail problem, so resend after I fixed it, sorry! It should be ok this time. - Link to v1: https://lore.kernel.org/r/20240219-b4-szmalloc-migrate-v1-0-34cd49c6545b@xxxxxxxxxxxxx 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 <chengming.zhou@xxxxxxxxx>