Skip to content

lib/stackdepot, kasan: fixes for stack eviction series

[email protected] linux-mm lkml 2 versions – Applied

Status from this message: [merged mm-stable] lib-stackdepot-fix-comment-in-include-linux-stackdepoth.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyApplied 4/4
  2. v14 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Use raw spinlock instead of spinlock to avoid issues on RT kernels.

Patches in v3 All 4 applied

#Subject and filesSizeRepliesApplied
1/4lib/stackdepot: add printk_deferred_enter/exit guardslib/stackdepot.c+9 -00 repliesApplied
2/4kasan: handle concurrent kasan_record_aux_stack callsmm/kasan/generic.c mm/kasan/kasan.h+37 -31 replyApplied
3/4kasan: memset free track in qlink_freemm/kasan/quarantine.c+1 -10 repliesApplied
4/4lib/stackdepot: fix comment in include/linux/stackdepot.hinclude/linux/stackdepot.h+0 -20 repliesApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMarco Elver
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

From: Andrey Konovalov <[email protected]>

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(-)
Signature · 1 line
2.25.1