Files
twx-linux/fs
Linus Torvalds 8b19e34188 vfs: make getcwd() get the root and pwd path under rcu
This allows us to skip all the crazy spinlocks and reference count
updates, and instead use the fs sequence read-lock to get an atomic
snapshot of the root and cwd information.

We might want to make the rule that "prepend_path()" is always called
with the RCU lock held, but the RCU lock nests fine and this is the
minimal fix.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-09-12 10:35:47 -07:00
..
…
2013-09-11 15:59:29 -07:00
…
2013-07-05 18:59:33 +04:00
2013-08-12 15:22:43 -05:00
…
2013-07-09 10:33:25 -07:00
…
2013-09-07 10:38:29 +02:00
…
…
…
…
…
…
…
2013-07-03 16:08:06 -07:00
…
2013-07-10 18:11:34 -07:00
2013-07-10 18:11:34 -07:00
2013-09-04 09:23:46 -04:00
…
…
…
…
2013-09-03 22:52:45 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-09-07 19:54:56 -04:00
…
…
…
…