Message ID | 20231227150354.9437b5c792000b8eb22758e9@linux-foundation.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [GIT,PULL] hotfixes for 6.7 | expand |
On Wed, 27 Dec 2023 at 15:03, Andrew Morton <akpm@linux-foundation.org> wrote: > > Baokun Li (1): > mm/filemap: avoid buffered read/write race to read inconsistent data Hmm. I wonder if we should have made the i_size_read/write helpers be smp_load_acquire/store_release()? The existing smp_wmb() are almost accidental, and aren't primarily about the inode size, but about the page/folio uptodate bit. I guess they work, but it's all a bit messy. Which might *also* be better off with acquire/release, but we don't have those bitops, I guess. Oh well. Linus
The pull request you sent on Wed, 27 Dec 2023 15:03:54 -0800:
> git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2023-12-27-15-00
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f5837722ffecbbedf1b1dbab072a063565f0dad1
Thank you!