[PATCH 0/2] zsmalloc: small compaction improvements
From: Sergey Senozhatsky
Date: Fri Jun 23 2023 - 00:40:36 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.
Sergey Senozhatsky (2):
zsmalloc: do not scan for allocated objects in empty zspage
zsmalloc: move migration destination zspage inuse check
mm/zsmalloc.c | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
--
2.41.0.162.gfafddb0af9-goog