mm-silence-data-race-in-update_hiwater_rss.patch removed from -mm tree
The quilt patch titled
Subject: mm: silence data-race in update_hiwater_rss
has been removed from the -mm tree. Its filename was
mm-silence-data-race-in-update_hiwater_rss.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: Lance Yang <[email protected]>
Subject: mm: silence data-race in update_hiwater_rss
Date: Fri, 26 Sep 2025 17:24:26 +0800
KCSAN reports a data race on mm_cluster.hiwater_rss, which can be accessed concurrently from various paths like page migration and memory unmapping without synchronization.
Since hiwater_rss is a statistical field for accounting purposes, this data race is benign. Annotate both the read and write accesses with data_race() to make KCSAN happy.
---
include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-silence-data-race-in-update_hiwater_rss +1 -1
@@ -2742,7 +2742,7 @@ static inline void update_hiwater_rss(stunsigned long _rss =get_mm_rss (mm);if (data_race (mm->hiwater_rss) < _rss) - (mm)->hiwater_rss = _rss; +data_race (mm->hiwater_rss = _rss); }static inline void update_hiwater_vm (struct mm_struct *mm)
_
Patches currently in -mm which might be from [email protected] are
hung_task-fix-warnings-caused-by-unaligned-lock-pointers.patch mm-thp-fix-mte-tag-mismatch-when-replacing-zero-filled-subpages.patch mm-clean-up-is_guard_pte_marker.patch