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-18 11:27:18 -08:00
2010-11-09 16:49:02 -08:00
2011-01-07 17:50:28 +11:00
2010-11-29 10:53:14 -08:00
2010-11-09 13:32:36 -08:00
2010-11-29 10:53:14 -08:00
2010-11-16 12:25:52 -08:00
2010-11-09 13:24:12 -08:00
2010-10-28 09:44:56 -07:00
2010-12-02 01:59:10 -02:00
2010-10-19 10:12:14 -07:00
2010-10-21 01:06:14 -02:00
2010-11-29 10:53:14 -08:00
2010-10-08 07:23:49 -07:00
2010-11-18 11:27:18 -08:00
2010-11-09 14:05:22 -08:00
2010-11-22 11:56:26 -02:00
2010-11-16 13:33:23 -08:00
2010-11-18 11:27:19 -08:00
2010-11-29 10:44:22 -08:00
2010-11-16 13:33:23 -08:00
2010-11-18 11:27:20 -08:00
2010-10-28 12:13:00 -07:00
2010-10-15 15:53:27 +02:00
2010-10-30 12:12:50 +02:00
2010-10-28 09:44:56 -07:00
2010-11-15 22:40:38 +01:00
2010-10-15 15:53:27 +02:00
2010-10-09 13:26:12 -07:00
2011-01-07 17:50:26 +11:00
2010-09-04 21:23:26 -07:00
2010-11-16 12:25:52 -08:00
2010-11-29 11:48:29 -08:00
2010-10-08 07:23:46 -07:00
2010-11-16 12:25:53 -08:00
2010-11-09 14:05:23 -08:00
2010-10-08 07:23:42 -07:00
2010-11-29 10:44:22 -08:00
2010-11-18 11:27:19 -08:00
2010-10-08 07:23:45 -07:00
2010-09-30 04:14:21 -07:00
2011-01-07 17:50:28 +11:00
2010-11-02 08:39:05 -07:00
2010-11-29 10:44:22 -08:00
2010-11-17 11:57:43 -08:00
2010-11-17 08:59:32 -08:00
2010-10-06 08:25:06 -07:00
2010-11-10 18:34:44 -06:00
2010-11-22 11:56:26 -02:00
2010-11-18 11:27:19 -08:00
2010-10-28 09:44:56 -07:00
2010-09-30 04:33:26 -07:00
2010-10-28 09:44:56 -07:00
2010-11-09 14:05:23 -08:00
2010-11-09 14:05:22 -08:00
2010-11-19 10:13:56 -08:00
2010-10-28 09:44:56 -07:00
2010-10-05 11:56:38 -07:00
2010-11-09 16:51:42 -08:00
2010-10-28 09:44:56 -07:00
2010-12-30 12:07:22 -08:00
2010-10-29 12:42:18 -07:00
2010-10-29 12:42:18 -07:00