From: Nick Piggin Date: Fri, 7 Jan 2011 06:49:53 +0000 (+1100) Subject: fs: fs_struct use seqlock X-Git-Tag: v2.6.38-rc1~468^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c28cc36469554dc55540f059fbdc7fa22a2c31fc;p=pandora-kernel.git 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 --- Reading git-diff-tree failed