* [merged mm-stable] kasan-drop-config_kasan_generic-check-from-kasan_init_cache_meta.patch removed from -mm tree
@ 2022-10-03 21:06 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-10-03 21:06 UTC (permalink / raw)
To: mm-commits, ryabinin.a.a, pcc, glider, eugenis, elver, dvyukov,
andreyknvl, akpm
The quilt patch titled
Subject: kasan: drop CONFIG_KASAN_GENERIC check from kasan_init_cache_meta
has been removed from the -mm tree. Its filename was
kasan-drop-config_kasan_generic-check-from-kasan_init_cache_meta.patch
This patch was dropped because it was merged into the mm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Andrey Konovalov <andreyknvl@google.com>
Subject: kasan: drop CONFIG_KASAN_GENERIC check from kasan_init_cache_meta
Date: Mon, 5 Sep 2022 23:05:28 +0200
As kasan_init_cache_meta() is only defined for the Generic mode, it does
not require the CONFIG_KASAN_GENERIC check.
Link: https://lkml.kernel.org/r/211f8f2b213aa91e9148ca63342990b491c4917a.1662411799.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Peter Collingbourne <pcc@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/kasan/generic.c | 6 ------
1 file changed, 6 deletions(-)
--- a/mm/kasan/generic.c~kasan-drop-config_kasan_generic-check-from-kasan_init_cache_meta
+++ a/mm/kasan/generic.c
@@ -367,12 +367,6 @@ void kasan_init_cache_meta(struct kmem_c
/* Continue, since free meta might still fit. */
}
- /* Only the generic mode uses free meta or flexible redzones. */
- if (!IS_ENABLED(CONFIG_KASAN_GENERIC)) {
- cache->kasan_info.free_meta_offset = KASAN_NO_FREE_META;
- return;
- }
-
/*
* Add free meta into redzone when it's not possible to store
* it in the object. This is the case when:
_
Patches currently in -mm which might be from andreyknvl@google.com are
kasan-fix-array-bounds-warnings-in-tests.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-03 21:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-03 21:06 [merged mm-stable] kasan-drop-config_kasan_generic-check-from-kasan_init_cache_meta.patch removed from -mm tree Andrew Morton
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.