Nick Piggin
fb045adb99
fs: dcache reduce branches in lookup path
...
Reduce some branches and memory accesses in dcache lookup by adding dentry
flags to indicate common d_ops are set, rather than having to check them.
This saves a pointer memory access (dentry->d_op) in common path lookup
situations, and saves another pointer load and branch in cases where we
have d_op but not the particular operation.
Patched with:
git grep -E '[.>]([[:space:]])*d_op([[:space:]])*=' | xargs sed -e 's/\([^\t ]*\)->d_op = \(.*\);/d_set_d_op(\1, \2);/' -e 's/\([^\t ]*\)\.d_op = \(.*\);/d_set_d_op(\&\1, \2);/' -i
Signed-off-by: Nick Piggin <npiggin@kernel.dk >
2011-01-07 17:50:28 +11:00
..
2010-11-17 13:54:57 -06:00
2010-10-15 15:53:27 +02:00
2010-12-01 08:44:26 +01:00
2010-12-16 17:08:58 +01:00
2010-12-23 12:09:30 -05:00
2010-10-30 02:18:32 -04:00
2010-10-30 01:42:19 -04:00
2010-10-30 08:45:42 -04:00
2010-10-30 01:42:19 -04:00
2010-10-30 01:41:57 -04:00
2010-10-30 08:45:43 -04:00
2010-10-27 18:03:08 -07:00
2011-01-07 17:50:28 +11:00
2010-10-15 15:53:27 +02:00
2010-10-29 04:17:06 -04:00
2010-10-27 18:03:12 -07:00
2010-12-02 14:51:16 -08:00
2010-12-08 20:15:06 +01:00
2010-11-10 13:27:50 +01:00
2010-11-10 13:27:50 +01:00
2010-10-14 13:29:59 +02:00
2010-11-12 14:51:55 +01:00
2010-11-18 13:18:47 +01:00
2010-10-29 12:56:13 -04:00
2010-11-19 11:54:40 -08:00
2010-10-26 16:52:13 -07:00
2010-10-01 10:50:58 -07:00
2010-10-29 12:55:55 -04:00
2010-12-22 10:27:53 +01:00
2010-11-12 07:55:31 -08:00
2010-10-18 18:44:26 +02:00
2010-10-21 18:52:11 -07:00
2010-11-10 22:19:24 -05:00
2010-10-27 18:03:09 -07:00
2010-12-16 11:14:31 +01:00
2010-11-15 22:45:22 +01:00
2010-11-10 13:07:06 +01:00
2010-11-26 15:03:12 +01:00
2010-10-15 15:53:27 +02:00
2010-10-27 18:03:12 -07:00
2010-11-12 07:55:31 -08:00
2010-10-07 09:43:11 +02:00
2010-09-23 09:16:42 -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-11-05 08:21:34 -07:00
2010-12-17 10:01:09 -08:00
2010-10-19 11:29:56 +02:00
2010-11-18 13:12:33 +01:00
2010-10-18 20:52:27 +02:00
2010-10-18 20:52:26 +02:00
2010-10-24 13:29:01 +02:00
2010-11-11 14:37:23 +01:00
2010-12-19 23:24:27 +01:00
2010-10-27 18:03:12 -07:00
2010-10-27 17:28:36 +01:00
2010-10-27 18:48:00 -07:00
2010-09-23 09:14:51 -07:00
2010-10-26 16:52:15 -07:00
2010-09-23 17:03:55 +10:00
2010-10-15 14:42:24 -07:00
2010-11-16 07:56:09 -08:00
2010-12-22 19:43:34 -08:00
2010-10-14 08:55:27 +02:00
2010-12-08 20:15:07 +01:00
2010-10-18 19:58:56 +02:00
2010-10-27 18:03:17 -07:00
2010-12-29 11:31:38 -08:00
2010-10-26 17:32:41 -07:00
2011-01-03 05:25:52 +01:00
2010-12-14 15:05:54 +01:00