Skip to content
Commit 844776cb authored by linke li's avatar linke li Committed by Vlastimil Babka
Browse files

mm/slub: mark racy access on slab->freelist



In deactivate_slab(), slab->freelist can be changed concurrently. Mark
data race on slab->freelist as benign using READ_ONCE.

This patch is aimed at reducing the number of benign races reported by
KCSAN in order to focus future debugging effort on harmful races.

Signed-off-by: default avatarlinke li <lilinke99@qq.com>
Signed-off-by: default avatarVlastimil Babka <vbabka@suse.cz>
parent b3d8a8e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment