Skip to content

Bitops instrumentation for KASAN

Marco Elver linux-arch linux-doc linux-mm lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 1 replyIn review
  2. v43 patches 2 repliesSuperseded
  3. v33 patches 9 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches8 repliesSuperseded
v13 patches18 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/test_kasan: Add bitops testslib/test_kasan.c+78 -30 replies
2/3x86: Use static_cpu_has in uaccess region to avoid instrumentationarch/x86/ia32/ia32_signal.c arch/x86/kernel/signal.c+2 -20 replies
3/3asm-generic, x86: Add bitops instrumentation for KASANDocumentation/core-api/kernel-api.rst arch/x86/include/asm/bitops.h include/asm-generic/bitops-instrumented.h+302 -1520 replies

Reviews trailers per patch

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

PatchMark RutlandAndrey RyabininPeter Zijlstra (Intel)
1/3A-b R-b
2/3R-b A-b
3/3A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/3] Bitops instrumentation for KASAN

Previous version:
http://lkml.kernel.org/r/[email protected]

* Only changed lib/test_kasan in this version.

Marco Elver (3):
lib/test_kasan: Add bitops tests
x86: Use static_cpu_has in uaccess region to avoid instrumentation asm-generic, x86: Add bitops instrumentation for KASAN

 Documentation/core-api/kernel-api.rst     |   2 +-
 arch/x86/ia32/ia32_signal.c               |   2 +-
 arch/x86/include/asm/bitops.h             | 189 ++++------------
 arch/x86/kernel/signal.c                  |   2 +-
 include/asm-generic/bitops-instrumented.h | 263 ++++++++++++++++++++++
 lib/test_kasan.c                          |  81 ++++++-
 6 files changed, 382 insertions(+), 157 deletions(-)
 create mode 100644 include/asm-generic/bitops-instrumented.h
Signature · 1 line
2.22.0.rc2.383.gf4fbbf30c2-goog