Message ID | 20240213204221.661294-2-philip.cox@canonical.com |
---|---|
State | New |
Headers | show |
Series | performance: address_space: add padding for i_map and i_mmap_rwsem to mitigate a false sharing | expand |
diff --git a/include/linux/fs.h b/include/linux/fs.h index e56fd1705122..31b880777554 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -468,11 +468,11 @@ struct address_space { atomic_t nr_thps; #endif struct rb_root_cached i_mmap; - struct rw_semaphore i_mmap_rwsem; unsigned long nrpages; pgoff_t writeback_index; const struct address_space_operations *a_ops; unsigned long flags; + struct rw_semaphore i_mmap_rwsem; errseq_t wb_err; spinlock_t private_lock; struct list_head private_list;