Eric Dumazet
fa3536cc14
[PATCH] Use __read_mostly on some hot fs variables
...
I discovered on oprofile hunting on a SMP platform that dentry lookups were
slowed down because d_hash_mask, d_hash_shift and dentry_hashtable were in
a cache line that contained inodes_stat. So each time inodes_stats is
changed by a cpu, other cpus have to refill their cache line.
This patch moves some variables to the __read_mostly section, in order to
avoid false sharing. RCU dentry lookups can go full speed.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-26 08:56:56 -08:00
..
2006-03-25 08:22:54 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-26 08:56:55 -08:00
2006-01-11 18:42:13 -08:00
2006-03-23 07:38:13 -08:00
2006-03-24 18:23:14 +01:00
2006-03-24 07:33:23 -08:00
2006-03-26 08:56:55 -08:00
2006-03-24 18:42:13 +01:00
2006-02-03 14:03:09 -08:00
2006-03-26 08:56:55 -08:00
2006-03-20 13:42:59 -08:00
2006-01-09 15:59:24 -08:00
2006-03-23 07:38:17 -08:00
2006-03-24 07:33:23 -08:00
2006-01-18 19:20:28 -08:00
2006-03-25 08:22:58 -08:00
2006-03-26 08:56:55 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-02-28 20:53:43 -08:00
2006-01-18 19:20:23 -08:00
2006-01-18 19:20:23 -08:00
2005-12-29 09:48:15 -08:00
2006-03-24 07:33:23 -08:00
2006-01-09 15:59:24 -08:00
2006-03-22 07:54:04 -08:00
2006-03-24 07:33:24 -08:00
2006-03-26 08:56:55 -08:00
2006-03-24 07:33:23 -08:00
2006-03-26 08:56:55 -08:00
2006-03-26 08:56:55 -08:00
2006-03-26 08:56:55 -08:00
2006-03-25 08:22:56 -08:00
2005-10-30 17:37:32 -08:00
2006-03-24 07:33:23 -08:00
2006-03-26 08:56:55 -08:00
2005-10-11 09:46:54 -07:00
2006-03-26 08:56:55 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 14:58:29 -08:00
2005-11-07 07:54:06 -08:00
2006-03-26 08:56:55 -08:00
2006-03-26 08:56:53 -08:00
2006-03-24 07:33:23 -08:00
2006-03-23 07:38:17 -08:00
2006-03-26 08:56:55 -08:00
2006-03-24 07:33:23 -08:00
2006-03-25 08:22:55 -08:00
2006-03-20 13:42:59 -08:00
2006-03-24 07:33:23 -08:00
2006-03-25 08:23:00 -08:00
2006-03-24 18:21:44 +01:00
2005-10-30 17:37:32 -08:00
2006-03-26 08:56:55 -08:00
2006-03-25 08:23:00 -08:00
2006-01-11 18:42:13 -08:00
2005-05-05 16:36:47 -07:00
2006-01-10 08:01:25 -08:00
2006-03-24 18:38:48 +01:00
2006-03-25 09:10:52 -08:00
2005-04-16 15:20:36 -07:00
2006-03-25 08:23:01 -08:00
2006-01-14 18:27:06 -08:00
2005-04-16 15:20:36 -07:00
2005-10-29 21:40:38 -07:00
2006-03-26 08:56:56 -08:00
2006-03-26 08:56:56 -08:00
2006-03-26 08:56:55 -08:00
2006-03-25 08:23:00 -08:00
2006-03-24 07:33:19 -08:00
2006-03-25 08:23:00 -08:00
2006-03-26 08:56:56 -08:00
2006-03-26 08:56:56 -08:00
2006-03-25 08:23:00 -08:00
2006-03-26 08:56:56 -08:00
2006-03-24 07:33:23 -08:00
2006-01-08 20:12:40 -08:00
2006-03-26 08:56:56 -08:00
2006-03-25 08:23:00 -08:00
2006-03-26 08:56:56 -08:00
2006-03-07 09:16:35 -08:00
2006-03-23 07:38:17 -08:00
2006-03-23 07:38:09 -08:00
2005-10-30 17:37:32 -08:00
2006-03-25 08:22:56 -08:00
2006-03-26 08:56:56 -08:00
2006-03-26 08:56:56 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-03-23 23:44:19 -05:00
2006-01-08 20:13:36 -08:00
2006-03-23 07:38:12 -08:00
2006-03-26 08:56:56 -08:00
2006-03-23 19:56:55 +01:00
2006-03-24 07:33:23 -08:00
2006-01-08 20:13:54 -08:00
2006-03-25 09:24:53 -08:00
2006-03-26 08:56:56 -08:00
2006-03-24 07:33:19 -08:00
2006-03-25 09:24:53 -08:00
2006-03-26 08:56:56 -08:00
2006-03-24 07:33:24 -08:00
2005-11-07 18:18:11 -08:00
2005-10-08 15:00:57 -07:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:11 -08:00
2006-03-25 08:23:01 -08:00
2006-01-09 15:59:24 -08:00
2006-02-17 13:59:28 -08:00
2006-03-23 07:38:12 -08:00
2006-02-11 21:41:10 -08:00
2006-03-26 08:56:55 -08:00
2005-04-16 15:20:36 -07:00
2006-03-20 14:08:53 -05:00