[PATCH v3 mm 0/4] lib/stackdepot, kasan: fixes for stack eviction series

From: andrey . konovalov
Date: Tue Dec 19 2023 - 16:20:19 EST


From: Andrey Konovalov <andreyknvl@xxxxxxxxxx>

A few fixes for the stack depot eviction series.

Changes v2->v3:
- Use raw spinlock instead of spinlock to avoid issues on RT kernels.

Changes v1->v2:
- Add Fixes tags.
- Use per-object spinlock for protecting aux stack handles instead of a
global one.

Andrey Konovalov (4):
lib/stackdepot: add printk_deferred_enter/exit guards
kasan: handle concurrent kasan_record_aux_stack calls
kasan: memset free track in qlink_free
lib/stackdepot: fix comment in include/linux/stackdepot.h

include/linux/stackdepot.h | 2 --
lib/stackdepot.c | 9 +++++++++
mm/kasan/generic.c | 32 +++++++++++++++++++++++++++++---
mm/kasan/kasan.h | 8 ++++++++
mm/kasan/quarantine.c | 2 +-
5 files changed, 47 insertions(+), 6 deletions(-)

--
2.25.1