Files
linux/fs
Dave Chinner cffbc8aa33 fs: Convert nr_inodes and nr_unused to per-cpu counters
The number of inodes allocated does not need to be tied to the
addition or removal of an inode to/from a list. If we are not tied
to a list lock, we could update the counters when inodes are
initialised or destroyed, but to do that we need to convert the
counters to be per-cpu (i.e. independent of a lock). This means that
we have the freedom to change the list/locking implementation
without needing to care about the counters.

Based on a patch originally from Eric Dumazet.

[AV: cleaned up a bit, fixed build breakage on weird configs

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-10-25 21:26:09 -04:00
..
2010-10-25 21:18:20 -04:00
…
2010-10-04 21:10:35 +02:00
2010-10-25 21:24:15 -04:00
2010-10-25 08:02:40 -07:00
2010-08-18 01:01:33 -04:00
…
2010-10-25 21:18:19 -04:00
2010-10-25 21:18:20 -04:00
2010-10-25 21:18:20 -04:00
2010-10-21 18:48:09 +02:00
2010-10-25 21:24:16 -04:00
2010-10-04 21:10:50 +02:00
2010-10-25 21:24:15 -04:00
2010-10-25 21:18:19 -04:00
…
2010-10-25 21:23:01 -04:00
2010-10-25 21:18:20 -04:00
2010-10-21 18:48:04 +02:00
2010-10-25 21:24:15 -04:00
2010-10-25 21:18:20 -04:00
2010-10-25 21:18:23 -04:00
…
2010-09-16 20:52:58 +02:00
2010-08-18 08:35:48 -04:00
2010-10-15 15:53:27 +02:00
2010-08-18 08:35:46 -04:00
…
2010-10-25 21:18:19 -04:00
2010-10-05 11:02:04 +02:00
…
…
…
2010-08-18 08:35:47 -04:00
2010-08-18 08:35:48 -04:00
…
…
…
…
2010-08-09 16:48:44 -04:00
2010-08-18 08:35:48 -04:00
2010-08-09 16:47:43 -04:00
…