[PATCHv2 0/3] zsmalloc: small compaction improvements

From: Sergey Senozhatsky
Date: Sat Jun 24 2023 - 01:31:34 EST


Hi,
A tiny series that can reduce the number of
find_alloced_obj() invocations (which perform a linear
scan of sub-page) during compaction. Inspired by Alexey
Romanov's findings.

v2:
-- picked up a patch from Minchan

Minchan Kim (1):
zsmalloc: remove zs_compact_control

Sergey Senozhatsky (2):
zsmalloc: do not scan for allocated objects in empty zspage
zsmalloc: move migration destination zspage inuse check

mm/zsmalloc.c | 50 ++++++++++++++++++++------------------------------
1 file changed, 20 insertions(+), 30 deletions(-)

--
2.41.0.162.gfafddb0af9-goog