All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20200602045107.jxdocn65G%akpm@linux-foundation.org>

diff --git a/a/1.txt b/N1/1.txt
index 3cab4ab..3401737 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -180,4 +180,19 @@ Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
 -void unmap_kernel_range_noflush(unsigned long addr, unsigned long size)
 -{
 -	vunmap_page_range(addr, addr + size);
--}
\ No newline at end of file
+-}
+-
+-/**
+  * unmap_kernel_range - unmap kernel VM area and flush cache and TLB
+  * @addr: start of the VM area to unmap
+  * @size: size of the VM area to unmap
+@@ -2042,7 +2024,7 @@ void unmap_kernel_range(unsigned long ad
+ 	unsigned long end = addr + size;
+ 
+ 	flush_cache_vunmap(addr, end);
+-	vunmap_page_range(addr, end);
++	unmap_kernel_range_noflush(addr, size);
+ 	flush_tlb_kernel_range(addr, end);
+ }
+ 
+_
\ No newline at end of file
diff --git a/a/content_digest b/N1/content_digest
index 7700462..39b9fa6 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -233,7 +233,22 @@
   "-void unmap_kernel_range_noflush(unsigned long addr, unsigned long size)\n",
   "-{\n",
   "-\tvunmap_page_range(addr, addr + size);\n",
-  "-}"
+  "-}\n",
+  "-\n",
+  "-/**\n",
+  "  * unmap_kernel_range - unmap kernel VM area and flush cache and TLB\n",
+  "  * \@addr: start of the VM area to unmap\n",
+  "  * \@size: size of the VM area to unmap\n",
+  "\@\@ -2042,7 +2024,7 \@\@ void unmap_kernel_range(unsigned long ad\n",
+  " \tunsigned long end = addr + size;\n",
+  " \n",
+  " \tflush_cache_vunmap(addr, end);\n",
+  "-\tvunmap_page_range(addr, end);\n",
+  "+\tunmap_kernel_range_noflush(addr, size);\n",
+  " \tflush_tlb_kernel_range(addr, end);\n",
+  " }\n",
+  " \n",
+  "_"
 ]
 
-1e0280f4d53b3b8a9ba7d40b2e139a053f1db3a2739dbd38a9e64ff305988e02
+91d776c165374b264c8ed30696a0ce1c505aaf8398fb544d05197601a75542df

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.