]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
zsmalloc-zs_object_copy-add-clarifying-comment-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 11 Aug 2022 21:20:45 +0000 (14:20 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Aug 2022 05:02:49 +0000 (22:02 -0700)
tweak comment layout

Cc: Alexey Romanov <avromanov@sberdevices.ru>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/zsmalloc.c

index 7cbfdaa315c0070e0fc859b1b71ead79a995e5f2..09ab91a3fa3f6cc37b97a1a3d21ffe443e876460 100644 (file)
@@ -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) {