* [folded-merged] kasan-split-out-shadowc-from-commonc-fix.patch removed from -mm tree
@ 2020-12-20 1:40 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-12-20 1:40 UTC (permalink / raw)
To: mm-commits, will.deacon, vincenzo.frascino, kevin.brodsky, gor,
glider, eugenis, elver, dvyukov, catalin.marinas,
Branislav.Rankov, aryabinin, andreyknvl, akpm
The patch titled
Subject: kasan-split-out-shadowc-from-commonc-fix
has been removed from the -mm tree. Its filename was
kasan-split-out-shadowc-from-commonc-fix.patch
This patch was dropped because it was folded into kasan-split-out-shadowc-from-commonc.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: kasan-split-out-shadowc-from-commonc-fix
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Branislav Rankov <Branislav.Rankov@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Marco Elver <elver@google.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/kasan/shadow.c | 13 -------------
1 file changed, 13 deletions(-)
--- a/mm/kasan/shadow.c~kasan-split-out-shadowc-from-commonc-fix
+++ a/mm/kasan/shadow.c
@@ -13,7 +13,6 @@
#include <linux/init.h>
#include <linux/kasan.h>
#include <linux/kernel.h>
-#include <linux/kfence.h>
#include <linux/kmemleak.h>
#include <linux/memory.h>
#include <linux/mm.h>
@@ -84,10 +83,6 @@ void poison_range(const void *address, s
*/
address = reset_tag(address);
- /* Skip KFENCE memory if called explicitly outside of sl*b. */
- if (is_kfence_address(address))
- return;
-
shadow_start = kasan_mem_to_shadow(address);
shadow_end = kasan_mem_to_shadow(address + size);
@@ -105,14 +100,6 @@ void unpoison_range(const void *address,
*/
address = reset_tag(address);
- /*
- * Skip KFENCE memory if called explicitly outside of sl*b. Also note
- * that calls to ksize(), where size is not a multiple of machine-word
- * size, would otherwise poison the invalid portion of the word.
- */
- if (is_kfence_address(address))
- return;
-
poison_range(address, size, tag);
if (size & KASAN_GRANULE_MASK) {
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
kasan-split-out-shadowc-from-commonc.patch
kasan-arm64-implement-hw_tags-runtime-fix.patch
kasan-remove-kfence-leftovers.patch
mm.patch
mm-fix-initialization-of-struct-page-for-holes-in-memory-layout-checkpatch-fixes.patch
mm-vmstat-fix-proc-sys-vm-stat_refresh-generating-false-warnings-fix-2.patch
kfence-kasan-make-kfence-compatible-with-kasan-fix.patch
linux-next-rejects.patch
kmap-stupid-hacks-to-make-it-compile.patch
set_memory-allow-set_direct_map__noflush-for-multiple-pages-fix.patch
arch-mm-wire-up-memfd_secret-system-call-were-relevant-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-20 1:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-20 1:40 [folded-merged] kasan-split-out-shadowc-from-commonc-fix.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).