On Fri, Oct 11, 2024 at 09:44:42AM +0800, Baokun Li wrote: > On 2024/10/11 8:17, Sasha Levin wrote: > > This is a note to let you know that I've just added the patch titled > > > > Revert "mm/filemap: avoid buffered read/write race to read inconsistent data" > > > > to the 6.6-stable tree which can be found at: > > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > > > The filename of the patch is: > > revert-mm-filemap-avoid-buffered-read-write-race-to-.patch > > and it can be found in the queue-6.6 subdirectory. > > > > If you, or anyone else, feels it should not be added to the stable tree, > > please let <stable@xxxxxxxxxxxxxxx> know about it. > > > Hi Sasha, > > The current patch is a cleanup after adding > smp_load_acquire/store_release() to i_size_read/write(). > > In my opinion stable versions continue to use smp_rmb just fine, > no need to backport the current patch to stable. > > In addition, the current patch belongs to a patch set: > > https://lore.kernel.org/all/20240124142857.4146716-1-libaokun1@xxxxxxxxxx/ > > If the current patch does need to be backported to stable, then the > entire patch set needs to be backported or problems will be introduced. > > All the patches in the patch set are listed below: > > d8f899d13d72 ("fs: make the i_size_read/write helpers be > smp_load_acquire/store_release()") > 4b944f8ef996 ("Revert "mm/filemap: avoid buffered read/write race to read > inconsistent data"") > ad72872eb3ae ("asm-generic: remove extra type checking in acquire/release > for non-SMP case") Ok, now dropped, thanks greg k-h