[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 19 Nov 2019 03:03:36 +0000
From: bugzilla-daemon@...zilla.kernel.org
To: linux-ext4@...r.kernel.org
Subject: [Bug 205567] potential (possibly benign) data race on
ext4_dir_entry_2->inode when getdents64 and rename happens on the same
directory
https://bugzilla.kernel.org/show_bug.cgi?id=205567
--- Comment #7 from Meng Xu (mengxu.gatech@...il.com) ---
(In reply to Theodore Tso from comment #5)
> (Or rather, it's allowed by the standard, so it's no big deal.)
Hi Ted,
Just a quick thought in my mind: do they need to be wrapped with READ_ONCE,
WRITE_ONCE and/or memory barriers so that the visibility of the [WRITE] and all
operations before that [WRITE] are seen by the [READ] and after?
Best Regards,
Meng
--
You are receiving this mail because:
You are watching the assignee of the bug.
Powered by blists - more mailing lists