[RESEND PATCH v7 4/4] vfs: Use per-cpu list for superblock's inode list

2016-06-07 Thread Waiman Long
When many threads are trying to add or delete inode to or from a superblock's s_inodes list, spinlock contention on the list can become a performance bottleneck. This patch changes the s_inodes field to become a per-cpu list with per-cpu spinlocks. As a result, the following superblock inode list

Re: [PATCH v7 4/4] vfs: Use per-cpu list for superblock's inode list

2016-04-14 Thread Jan Kara
On Tue 12-04-16 18:54:46, Waiman Long wrote: > When many threads are trying to add or delete inode to or from > a superblock's s_inodes list, spinlock contention on the list can > become a performance bottleneck. > > This patch changes the s_inodes field to become a per-cpu list with > per-cpu spi

[PATCH v7 4/4] vfs: Use per-cpu list for superblock's inode list

2016-04-12 Thread Waiman Long
When many threads are trying to add or delete inode to or from a superblock's s_inodes list, spinlock contention on the list can become a performance bottleneck. This patch changes the s_inodes field to become a per-cpu list with per-cpu spinlocks. As a result, the following superblock inode list