diff options
| author | Nick Piggin <[email protected]> | 2011-01-07 06:49:53 +0000 |
|---|---|---|
| committer | Nick Piggin <[email protected]> | 2011-01-07 06:50:27 +0000 |
| commit | c28cc36469554dc55540f059fbdc7fa22a2c31fc (patch) | |
| tree | 6b867456be48b8633a2d56a99e00bb3faf9dccc7 /fs/proc/generic.c | |
| parent | fs: rcu-walk for path lookup (diff) | |
| download | kernel-c28cc36469554dc55540f059fbdc7fa22a2c31fc.tar.gz kernel-c28cc36469554dc55540f059fbdc7fa22a2c31fc.zip | |
fs: fs_struct use seqlock
Use a seqlock in the fs_struct to enable us to take an atomic copy of the
complete cwd and root paths. Use this in the RCU lookup path to avoid a
thread-shared spinlock in RCU lookup operations.
Multi-threaded apps may now perform path lookups with scalability matching
multi-process apps. Operations such as stat(2) become very scalable for
multi-threaded workload.
Signed-off-by: Nick Piggin <[email protected]>
Diffstat (limited to 'fs/proc/generic.c')
0 files changed, 0 insertions, 0 deletions
