Christoph Hellwig
312d3ca856
fs: use percpu counter for nr_dentry and nr_dentry_unused
...
The nr_dentry stat is a globally touched cacheline and atomic operation
twice over the lifetime of a dentry. It is used for the benfit of userspace
only. Turn it into a per-cpu counter and always decrement it in d_free instead
of doing various batching operations to reduce lock hold times in the callers.
Based on an earlier patch from Nick Piggin <npiggin@suse.de>.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-10-25 21:26:12 -04:00
..
2010-10-22 15:34:13 -05:00
2010-10-15 15:53:27 +02:00
2010-10-12 21:59:55 +02:00
2010-10-17 01:57:50 +02:00
2010-09-09 20:48:37 +02:00
2010-10-24 13:41:39 -07:00
2010-10-25 21:26:11 -04:00
2010-09-14 16:08:45 -07:00
2010-10-15 15:53:27 +02:00
2010-10-21 10:12:44 +11:00
2010-09-09 21:07:09 +02:00
2010-09-22 17:22:39 -07:00
2010-09-18 12:19:21 +02:00
2010-10-25 21:26:11 -04:00
2010-09-09 18:57:24 -07:00
2010-10-14 13:29:59 +02:00
2010-10-18 19:58:55 +02:00
2010-10-18 19:58:50 +02:00
2010-09-22 16:30:46 -04:00
2010-10-01 10:50:58 -07:00
2010-10-22 10:52:56 -07:00
2010-10-18 18:44:26 +02:00
2010-10-21 18:52:11 -07:00
2010-10-08 10:46:27 +02:00
2010-09-03 08:19:51 +02:00
2010-10-21 12:54:49 -07:00
2010-10-24 13:41:39 -07:00
2010-10-12 17:36:10 +02:00
2010-10-15 15:53:27 +02:00
2010-10-07 09:43:11 +02:00
2010-08-27 10:51:17 -07:00
2010-09-23 09:16:42 -07:00
2010-09-02 16:15:30 -07:00
2010-09-23 09:16:53 -07:00
2010-10-07 10:41:06 -07:00
2010-09-23 09:16:53 -07:00
2010-10-19 11:29:56 +02:00
2010-10-21 12:55:43 -07:00
2010-10-18 20:52:27 +02:00
2010-10-18 20:52:26 +02:00
2010-10-18 18:41:58 +02:00
2010-10-21 12:55:43 -07:00
2010-10-07 09:41:25 +02:00
2010-09-10 16:48:40 +02:00
2010-10-23 08:25:36 -07:00
2010-09-23 09:14:51 -07:00
2010-10-18 18:41:58 +02:00
2010-09-23 17:03:55 +10:00
2010-08-31 17:00:18 -07:00
2010-10-15 14:42:24 -07:00
2010-10-25 21:26:12 -04:00
2010-10-14 08:55:27 +02:00
2010-10-18 19:58:50 +02:00
2010-10-18 19:58:56 +02:00
2010-10-21 12:54:49 -07:00
2010-10-19 11:28:15 +02:00