From e1c5ee249abda449a071135253f10cae348531e1 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 11 Aug 2022 14:20:45 -0700 Subject: [PATCH] zsmalloc-zs_object_copy-add-clarifying-comment-fix tweak comment layout Cc: Alexey Romanov Cc: Minchan Kim Cc: Nitin Gupta Cc: Sergey Senozhatsky Signed-off-by: Andrew Morton --- mm/zsmalloc.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 7cbfdaa315c00..09ab91a3fa3f6 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -1555,10 +1555,11 @@ static void zs_object_copy(struct size_class *class, unsigned long dst, d_off += size; d_size -= size; - /* Calling kunmap_atomic(d_addr) is necessary. kunmap_atomic() calls - * must occurs in reverse order of calls to kmap_atomic(). - * So, to call kunmap_atomic(s_addr) we should first call kunmap_atomic(d_addr). - * For more details see: + /* + * Calling kunmap_atomic(d_addr) is necessary. kunmap_atomic() + * calls must occurs in reverse order of calls to kmap_atomic(). + * So, to call kunmap_atomic(s_addr) we should first call + * kunmap_atomic(d_addr). For more details see * https://lore.kernel.org/linux-mm/5512421D.4000603@samsung.com/ */ if (s_off >= PAGE_SIZE) { -- 2.49.0