From: Andrew Morton Date: Thu, 11 Aug 2022 21:20:45 +0000 (-0700) Subject: zsmalloc-zs_object_copy-add-clarifying-comment-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e1c5ee249abda449a071135253f10cae348531e1;p=users%2Fjedix%2Flinux-maple.git 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 --- 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) {