diff options
author | Baokun Li <libaokun1@huawei.com> | 2024-01-24 17:28:56 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-01-25 19:23:51 +0300 |
commit | 4b944f8ef99641d5af287c7d9df91d20ef5d3e88 (patch) | |
tree | 0d9f1f456dcc8face557e9652b47dafa7ff19049 /tools/perf/ui/helpline.h | |
parent | d8f899d13d72d285db43dbb9df1acaed22d8c4e7 (diff) | |
download | linux-4b944f8ef99641d5af287c7d9df91d20ef5d3e88.tar.xz |
Revert "mm/filemap: avoid buffered read/write race to read inconsistent data"
This reverts commit e2c27b803bb6 ("mm/filemap: avoid buffered read/write
race to read inconsistent data"). After making the i_size_read/write
helpers be smp_load_acquire/store_release(), it is already guaranteed that
changes to page contents are visible before we see increased inode size,
so the extra smp_rmb() in filemap_read() can be removed.
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Link: https://lore.kernel.org/r/20240124142857.4146716-3-libaokun1@huawei.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/ui/helpline.h')
0 files changed, 0 insertions, 0 deletions