Skip to content

stackleak: allow to specify arch specific stackleak poison function

Heiko Carstens lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2stackleak: allow to specify arch specific stackleak poison functionkernel/stackleak.c+13 -43 replies
2/2s390/stackleak: provide fast __stackleak_poison() implementationarch/s390/include/asm/processor.h+35 -01 reply

Reviews trailers per patch

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

PatchVasily GorbikMark Rutland
1/2A-b A-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] stackleak: allow to specify arch specific stackleak poison function

Factor out the code that fills the stack with the stackleak poison value in order to allow architectures to provide a faster implementation.

Use this to provide an s390 specific implementation which can fill the stack with the poison value much faster (factor of ~10 compared to the current version).

Note that the s390 stackleak support is currently only available via linux-next (as of today), and the s390 kernel tree at kernel.org[1]. Therefore, if there are no objections, I'd like to add these two patches to the s390 tree, so they can go upstream via the next merge window together with the s390 support.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features&id=b94c0ebb1ec752016a3e41bfb66bb51ea905e533

Thanks,
Heiko

Heiko Carstens (2):
stackleak: allow to specify arch specific stackleak poison function s390/stackleak: provide fast __stackleak_poison() implementation

 arch/s390/include/asm/processor.h | 35 +++++++++++++++++++++++++++++++
 kernel/stackleak.c                | 17 +++++++++++----
 2 files changed, 48 insertions(+), 4 deletions(-)
Signature · 1 line
2.37.2