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