linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* regression/bisected commit 773688a6cb24b0b3c2ba40354d883348a2befa38 make my system completely unusable under high load
@ 2024-01-19 10:46 Mikhail Gavrilov
  2024-01-19 10:54 ` Marco Elver
  0 siblings, 1 reply; 23+ messages in thread
From: Mikhail Gavrilov @ 2024-01-19 10:46 UTC (permalink / raw)
  To: andreyknvl, elver, glider, dvyukov, eugenis, Oscar Salvador,
	Vlastimil Babka, Andrew Morton, Linux List Kernel Mailing,
	Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 2081 bytes --]

Hi,
I use a system with KASAN sanitizer everyday.
Because I want to catch difficult-to-repeat bugs.
And all worked fine until commit 773688a6cb24b0b3c2ba40354d883348a2befa38.
After commit 773688a6cb24b0b3c2ba40354d883348a2befa38 all working
jerky when I compile something.
The sound is interrupted, the cursor moves jerkily if I try to do
anything when all the cores are loaded.

> git bisect bad
773688a6cb24b0b3c2ba40354d883348a2befa38 is the first bad commit
commit 773688a6cb24b0b3c2ba40354d883348a2befa38
Author: Andrey Konovalov <andreyknvl@google.com>
Date:   Mon Nov 20 18:47:19 2023 +0100

    kasan: use stack_depot_put for Generic mode

    Evict alloc/free stack traces from the stack depot for Generic KASAN once
    they are evicted from the quaratine.

    For auxiliary stack traces, evict the oldest stack trace once a new one is
    saved (KASAN only keeps references to the last two).

    Also evict all saved stack traces on krealloc.

    To avoid double-evicting and mis-evicting stack traces (in case KASAN's
    metadata was corrupted), reset KASAN's per-object metadata that stores
    stack depot handles when the object is initialized and when it's evicted
    from the quarantine.

    Note that stack_depot_put is no-op if the handle is 0.

    Link: https://lkml.kernel.org/r/5cef104d9b842899489b4054fe8d1339a71acee0.1700502145.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: Dmitry Vyukov <dvyukov@google.com>
    Cc: Evgenii Stepanov <eugenis@google.com>
    Cc: Oscar Salvador <osalvador@suse.de>
    Cc: Vlastimil Babka <vbabka@suse.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

 mm/kasan/common.c     |  3 ++-
 mm/kasan/generic.c    | 22 ++++++++++++++++++----
 mm/kasan/quarantine.c | 26 ++++++++++++++++++++------
 3 files changed, 40 insertions(+), 11 deletions(-)

I attached here my build .config and kernel log.
Who could dig into it, please?

-- 
Best Regards,
Mike Gavrilov.

[-- Attachment #2: .config.zip --]
[-- Type: application/zip, Size: 65161 bytes --]

[-- Attachment #3: bisect-performance-regression-KASAN-log.zip --]
[-- Type: application/zip, Size: 1239 bytes --]

[-- Attachment #4: dmesg-performance-regression-KASAN.zip --]
[-- Type: application/zip, Size: 44240 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-02-26 10:12 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-19 10:46 regression/bisected commit 773688a6cb24b0b3c2ba40354d883348a2befa38 make my system completely unusable under high load Mikhail Gavrilov
2024-01-19 10:54 ` Marco Elver
2024-01-19 10:59   ` Marco Elver
2024-01-19 17:54     ` Mikhail Gavrilov
2024-01-29 22:25       ` Mikhail Gavrilov
2024-01-29 23:14         ` Andrey Konovalov
2024-02-01 22:08           ` Mikhail Gavrilov
2024-02-02  9:00             ` Marco Elver
2024-02-02 16:35               ` Mikhail Gavrilov
2024-02-02 16:47                 ` Marco Elver
2024-02-02 17:19                   ` Marco Elver
2024-02-02 20:14                     ` Mikhail Gavrilov
2024-02-19  9:48                       ` Mikhail Gavrilov
2024-02-19  9:52                         ` Marco Elver
2024-02-19 10:09                           ` Vlastimil Babka
2024-02-19 23:28                             ` Andrew Morton
2024-02-19 23:50                               ` Vlastimil Babka
2024-02-20  5:37                                 ` Mikhail Gavrilov
2024-02-20 17:30                                   ` Andrew Morton
2024-02-20 18:16                                     ` Vlastimil Babka
2024-02-20 18:51                                       ` Marco Elver
2024-02-26  9:25                                         ` Marco Elver
2024-02-26 10:12                                           ` Vlastimil Babka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox