[Devel] [PATCH rh7 0/8] Fix get_wchan() & Silence KASAN warnings in it.

Andrey Ryabinin aryabinin at virtuozzo.com
Mon Nov 16 06:21:34 PST 2015


First 4 patches are preps,
Patch 5 fixes get_wchan()
6 - cleanup
7,8 - shut up false positives

0001-x86-asm-entry-Create-and-use-a-TOP_OF_KERNEL_STACK_P.patch
0002-kernel-Provide-READ_ONCE-and-ASSIGN_ONCE.patch
0003-kernel-make-READ_ONCE-valid-on-const-arguments.patch
0004-locking-Remove-atomicy-checks-from-READ-WRITE-_ONCE.patch

0005-x86-process-Add-proper-bound-checks-in-64bit-get_wch.patch
0006-x86-process-Unify-32bit-and-64bit-implementations-of.patch
0007-compiler-atomics-kasan-Provide-READ_ONCE_NOCHECK.patch
0008-x86-mm-kasan-Silence-KASAN-warnings-in-get_wchan.patch


Andrey Ryabinin (2):
  compiler, atomics, kasan: Provide READ_ONCE_NOCHECK()
  x86/mm, kasan: Silence KASAN warnings in get_wchan()

Andy Lutomirski (1):
  x86/asm/entry: Create and use a 'TOP_OF_KERNEL_STACK_PADDING' macro

Christian Borntraeger (1):
  kernel: Provide READ_ONCE and ASSIGN_ONCE

Linus Torvalds (1):
  kernel: make READ_ONCE() valid on const arguments

Peter Zijlstra (1):
  locking: Remove atomicy checks from {READ,WRITE}_ONCE

Thomas Gleixner (2):
  x86/process: Add proper bound checks in 64bit get_wchan()
  x86/process: Unify 32bit and 64bit implementations of get_wchan()

 arch/x86/include/asm/processor.h   |  3 +-
 arch/x86/include/asm/thread_info.h | 27 +++++++++++
 arch/x86/kernel/entry_32.S         |  2 +-
 arch/x86/kernel/process.c          | 55 +++++++++++++++++++++
 arch/x86/kernel/process_32.c       | 28 -----------
 arch/x86/kernel/process_64.c       | 24 ----------
 include/linux/compiler-gcc.h       | 13 +++++
 include/linux/compiler.h           | 98 ++++++++++++++++++++++++++++++++++++++
 8 files changed, 196 insertions(+), 54 deletions(-)

-- 
2.4.10



More information about the Devel mailing list