Revision e8e2bca070b4606a0d7c4ea837bb92370e690a38 authored by Alexander Potapenko on 09 January 2020, 14:16:30 UTC, committed by Alexander Potapenko on 09 January 2020, 14:16:30 UTC
KMSAN doesn't allow treating adjacent memory pages as such, if they were allocated by different alloc_pages() calls. The block layer however does so: adjacent pages end up being used together. To prevent this, make page_is_mergeable() return false under KMSAN. Suggested-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Alexander Potapenko <glider@google.com> Cc: Eric Biggers <ebiggers@google.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Vegard Nossum <vegard.nossum@oracle.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Marco Elver <elver@google.com> Cc: Andrey Konovalov <andreyknvl@google.com> Cc: linux-mm@kvack.org
1 parent 5834921
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 1.3 KB |
lock_events.c | -rw-r--r-- | 4.3 KB |
lock_events.h | -rw-r--r-- | 1.7 KB |
lock_events_list.h | -rw-r--r-- | 3.2 KB |
lockdep.c | -rw-r--r-- | 134.2 KB |
lockdep_internals.h | -rw-r--r-- | 6.6 KB |
lockdep_proc.c | -rw-r--r-- | 17.0 KB |
lockdep_states.h | -rw-r--r-- | 207 bytes |
locktorture.c | -rw-r--r-- | 27.7 KB |
mcs_spinlock.h | -rw-r--r-- | 3.7 KB |
mutex-debug.c | -rw-r--r-- | 2.7 KB |
mutex-debug.h | -rw-r--r-- | 1.1 KB |
mutex.c | -rw-r--r-- | 37.5 KB |
mutex.h | -rw-r--r-- | 841 bytes |
osq_lock.c | -rw-r--r-- | 5.6 KB |
percpu-rwsem.c | -rw-r--r-- | 5.2 KB |
qrwlock.c | -rw-r--r-- | 2.3 KB |
qspinlock.c | -rw-r--r-- | 16.4 KB |
qspinlock_paravirt.h | -rw-r--r-- | 16.0 KB |
qspinlock_stat.h | -rw-r--r-- | 3.0 KB |
rtmutex-debug.c | -rw-r--r-- | 4.6 KB |
rtmutex-debug.h | -rw-r--r-- | 1.4 KB |
rtmutex.c | -rw-r--r-- | 51.0 KB |
rtmutex.h | -rw-r--r-- | 1.2 KB |
rtmutex_common.h | -rw-r--r-- | 4.2 KB |
rwsem.c | -rw-r--r-- | 47.0 KB |
rwsem.h | -rw-r--r-- | 253 bytes |
semaphore.c | -rw-r--r-- | 7.2 KB |
spinlock.c | -rw-r--r-- | 9.6 KB |
spinlock_debug.c | -rw-r--r-- | 5.7 KB |
test-ww_mutex.c | -rw-r--r-- | 12.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...