+ zsmalloc-zs_object_copy-add-clarifying-comment-fix.patch added to mm-unstable branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: zsmalloc-zs_object_copy-add-clarifying-comment-fix
has been added to the -mm mm-unstable branch.  Its filename is
     zsmalloc-zs_object_copy-add-clarifying-comment-fix.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/zsmalloc-zs_object_copy-add-clarifying-comment-fix.patch

This patch will later appear in the mm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: zsmalloc-zs_object_copy-add-clarifying-comment-fix
Date: Thu Aug 11 02:20:45 PM PDT 2022

tweak comment layout

Cc: Alexey Romanov <avromanov@xxxxxxxxxxxxxx>
Cc: Minchan Kim <minchan@xxxxxxxxxx>
Cc: Nitin Gupta <ngupta@xxxxxxxxxx>
Cc: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/zsmalloc.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

--- a/mm/zsmalloc.c~zsmalloc-zs_object_copy-add-clarifying-comment-fix
+++ a/mm/zsmalloc.c
@@ -1555,10 +1555,11 @@ static void zs_object_copy(struct size_c
 		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@xxxxxxxxxxx/
 		 */
 		if (s_off >= PAGE_SIZE) {
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

zsmalloc-zs_object_copy-add-clarifying-comment-fix.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux