Linus Torvalds
022773be03
dcache: Move the DCACHE_OP_COMPARE case out of the __d_lookup_rcu loop
...
__d_lookup_rcu() is one of the hottest functions in the kernel on
certain loads, and it is complicated by filesystems that might want to
have their own name compare function.
We can improve code generation by moving the test of DCACHE_OP_COMPARE
outside the loop, which makes the loop itself much simpler, at the cost
of some code duplication. But both cases end up being simpler, and the
"native" direct case-sensitive compare particularly so.
Change-Id: Ib45cdc9d56c950f472cf2bea34330c18926ba925
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
2024-12-13 00:13:33 -03:00
..
2024-06-04 16:33:29 -03:00
2022-04-26 15:07:01 +07:00
2023-12-07 20:15:44 -03:00
2023-08-23 14:54:21 +00:00
2023-09-23 10:47:03 +02:00
2022-04-26 15:07:01 +07:00
2022-04-26 15:07:01 +07:00
2024-10-31 20:49:41 -03:00
2024-03-26 11:04:59 +00:00
2024-05-08 19:24:35 -03:00
2024-05-06 14:36:34 +00:00
2022-03-02 11:33:56 +01:00
2022-04-26 15:07:01 +07:00
2022-05-20 14:51:11 +09:00
2024-12-12 00:01:58 -03:00
2024-12-03 01:45:18 -03:00
2024-05-06 14:36:39 +00:00
2024-07-08 08:14:33 +00:00
2020-12-02 08:34:44 +01:00
2022-04-26 15:07:01 +07:00
2024-12-04 02:14:18 -03:00
2024-03-25 23:05:41 -03:00
2023-12-07 20:15:44 -03:00
2024-10-29 20:17:04 -03:00
2024-12-11 23:21:35 -03:00
2024-06-04 16:33:29 -03:00
2022-07-01 09:13:34 +00:00
2024-11-01 20:36:52 -03:00
2024-10-29 20:17:04 -03:00
2024-10-11 00:50:20 -03:00
2024-08-26 18:30:32 -03:00
2022-04-26 15:07:01 +07:00
2022-07-01 09:13:34 +00:00
2024-08-18 03:56:56 -03:00
2024-06-04 16:33:29 -03:00
2024-10-11 00:50:20 -03:00
2024-08-23 16:43:23 +00:00
2024-10-10 10:27:25 +00:00
2023-12-07 20:15:44 -03:00
2023-09-30 11:44:35 +00:00
2022-04-26 15:07:01 +07:00
2024-10-29 20:17:04 -03:00
2020-12-29 13:47:01 +01:00
2024-07-08 08:14:40 +00:00
2024-10-31 20:49:41 -03:00
2023-09-23 10:46:53 +02:00
2022-06-14 17:05:02 +02:00
2023-12-07 20:15:44 -03:00
2024-08-26 18:30:32 -03:00
2023-12-07 20:15:44 -03:00
2024-08-23 16:43:23 +00:00
2023-12-07 20:15:44 -03:00
2024-11-04 20:59:50 -03:00
2024-11-01 22:39:10 -03:00
2022-04-26 15:07:01 +07:00
2022-04-26 15:07:01 +07:00
2024-10-29 20:17:04 -03:00
2020-10-29 09:07:11 +01:00
2023-09-23 10:46:54 +02:00
2022-04-26 15:07:01 +07:00
2024-12-13 00:13:33 -03:00
2024-10-31 20:49:41 -03:00
2024-06-04 16:33:29 -03:00
2024-06-04 16:33:29 -03:00
2022-09-20 16:06:18 +02:00
2024-06-04 16:33:29 -03:00
2024-10-31 20:49:41 -03:00
2022-04-26 15:07:01 +07:00
2024-07-11 19:27:21 -03:00
2024-03-25 23:54:05 -03:00
2023-12-07 20:15:44 -03:00
2024-05-30 09:00:41 +00:00
2023-09-30 11:44:35 +00:00
2024-10-24 10:07:37 +00:00
2020-06-03 08:18:03 +02:00
2022-06-14 16:53:43 +02:00
2024-10-24 10:07:37 +00:00
2024-04-05 12:18:04 -03:00
2023-12-07 20:15:44 -03:00
2023-12-07 20:15:44 -03:00
2024-11-17 13:03:59 -03:00
2020-05-20 12:15:34 +02:00
2022-07-01 09:13:34 +00:00
2024-12-13 00:13:33 -03:00
2022-06-30 14:12:16 +00:00
2020-10-14 12:08:21 +02:00
2024-12-03 01:45:18 -03:00
2024-04-16 10:30:27 +00:00
2022-05-20 14:51:11 +09:00
2024-11-17 13:03:39 -03:00
2020-08-05 11:41:56 +05:30
2023-12-07 20:15:44 -03:00
2023-12-07 20:15:44 -03:00
2024-11-17 13:03:44 -03:00
2022-06-30 14:12:16 +00:00
2022-07-03 19:57:12 +00:00
2024-07-11 19:25:23 -03:00
2024-10-24 10:07:40 +00:00
2024-12-12 00:01:58 -03:00
2022-04-06 13:17:33 +07:00
2023-12-07 20:15:44 -03:00
2024-12-03 01:45:18 -03:00
2024-12-03 01:45:18 -03:00
2021-08-15 13:03:31 +02:00
2023-01-18 09:32:42 +01:00
2024-12-03 01:45:18 -03:00
2021-04-28 12:08:41 +02:00
2024-04-16 10:30:27 +00:00
2022-07-26 07:16:30 +00:00
2021-12-14 10:16:55 +01:00
2022-10-26 13:16:56 +02:00
2024-12-03 01:45:18 -03:00
2023-05-30 12:38:36 +01:00
2022-02-23 12:10:45 +01:00
2022-05-20 14:51:11 +09:00
2024-08-27 11:40:02 -03:00