Hello, two small patches two micro-optimize zs_object_copy(). The first one removes unneeded kunmap_atomic/kmap_atomic of dst page, when object that we copy belongs to two source pages. The seconds one is also trivial -- removes branching and (a bit) reduses the amount of work done by the function (double offsets calculations). Sergey Senozhatsky (2): zsmalloc: do not remap dst page while prepare next src page zsmalloc: micro-optimize zs_object_copy() mm/zsmalloc.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) -- 2.3.4 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>