block-kmsan-skip-bio-block-merging-logic-for-kmsan.patch removed from -mm tree
The quilt patch titled
Subject: block: kmsan: skip bio block merging logic for KMSAN
has been removed from the -mm tree. Its filename was
block-kmsan-skip-bio-block-merging-logic-for-kmsan.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Alexander Potapenko <[email protected]>
Subject: block: kmsan: skip bio block merging logic for KMSAN
Date: Thu, 15 Sep 2022 17:04:02 +0200
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.
---
block/bio.c | 2 ++ 1 file changed, 2 insertions(+)
block/bio.c renamed from block/bio.c~block-kmsan-skip-bio-block-merging-logic-for-kmsan +2 -0
@@ -869,6 +869,8 @@ static inline bool page_is_mergeable(con *same_page = ((vec_end_addr &PAGE_MASK ) == page_addr);if (*same_page)return true; +else if (IS_ENABLED (CONFIG_KMSAN )) +return false;return (bv->bv_page + bv_end /PAGE_SIZE ) == (page + off /PAGE_SIZE ); }
_
Patches currently in -mm which might be from [email protected] are