Re: [PATCH 6.12.y] fsnotify: Fix stale object mask after concurrent mark updates

From
Sasha Levin <sashal@kernel.org>
Date
2026-09-06 13:34:01
Reply to
Youngjae Kwon, 2026-09-05
When a mark gets a new event bit, fanotify and inotify may avoid
recalculating the object mask if the cached aggregate already contains that
bit. This is racy with a recalculation triggered by a concurrent update to
another mark on the same connector.

The concurrent scan can read the mark before the new bit is added, while
Queued for 6.12, thanks.

-- 
Thanks,
Sasha
Thread (8 messages) 8 messages, 4 authors, last reply 2026-09-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help