* + kasan-remove-redundant-config-option-v3.patch added to -mm tree
@ 2021-01-09 1:28 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-01-09 1:28 UTC (permalink / raw)
To: andreyknvl, arnd, aryabinin, dvyukov, glider, mm-commits,
natechancellor, walter-zh.wu
The patch titled
Subject: kasan-remove-redundant-config-option-v3
has been added to the -mm tree. Its filename is
kasan-remove-redundant-config-option-v3.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/kasan-remove-redundant-config-option-v3.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/kasan-remove-redundant-config-option-v3.patch
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 and is updated
there every 3-4 working days
------------------------------------------------------
From: Walter Wu <walter-zh.wu@mediatek.com>
Subject: kasan-remove-redundant-config-option-v3
fix remaining the pre-processor syntax
Link: https://lkml.kernel.org/r/20210108040940.1138-1-walter-zh.wu@mediatek.com
Signed-off-by: Walter Wu <walter-zh.wu@mediatek.com>
Suggested-by: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
lib/Kconfig.kasan | 3 +--
mm/kasan/common.c | 2 +-
mm/kasan/report_generic.c | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
--- a/lib/Kconfig.kasan~kasan-remove-redundant-config-option-v3
+++ a/lib/Kconfig.kasan
@@ -139,10 +139,9 @@ config KASAN_INLINE
endchoice
config KASAN_STACK
- bool "Enable stack instrumentation (unsafe)"
+ bool "Enable stack instrumentation (unsafe)" if CC_IS_CLANG && !COMPILE_TEST
depends on KASAN_GENERIC || KASAN_SW_TAGS
default y if CC_IS_GCC
- default n if CC_IS_CLANG
help
The LLVM stack address sanitizer has a know problem that
causes excessive stack usage in a lot of functions, see
--- a/mm/kasan/common.c~kasan-remove-redundant-config-option-v3
+++ a/mm/kasan/common.c
@@ -63,7 +63,7 @@ void __kasan_unpoison_range(const void *
kasan_unpoison(address, size);
}
-#if defined(CONFIG_KASAN_STACK)
+#ifdef CONFIG_KASAN_STACK
/* Unpoison the entire stack for a task. */
void kasan_unpoison_task_stack(struct task_struct *task)
{
--- a/mm/kasan/report_generic.c~kasan-remove-redundant-config-option-v3
+++ a/mm/kasan/report_generic.c
@@ -128,7 +128,7 @@ void kasan_metadata_fetch_row(char *buff
memcpy(buffer, kasan_mem_to_shadow(row), META_BYTES_PER_ROW);
}
-#if defined(CONFIG_KASAN_STACK)
+#ifdef CONFIG_KASAN_STACK
static bool __must_check tokenize_frame_descr(const char **frame_descr,
char *token, size_t max_tok_len,
unsigned long *value)
_
Patches currently in -mm which might be from walter-zh.wu@mediatek.com are
kasan-remove-redundant-config-option.patch
kasan-remove-redundant-config-option-v3.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-09 1:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09 1:28 + kasan-remove-redundant-config-option-v3.patch added to -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).