MaxsTechReview
79027970e1
perf(nativeguest): skip the symlink walk for plain paths and link-less SD card mounts ( #3233 )
...
* Skip per-component link walk for plain paths in binds
Open the translated host path with O_PATH and compare /proc/self/fd
against it; when no link was crossed, return it without walking each
component. follow_guest_link reuses the result instead of rewriting the
path a second time. Cuts stat/open on deep SD-card files from about
5.7 ms to 1.4 ms.
* Test link handling and plain paths inside native binds
* Check missing paths in binds from their deepest existing folder
A path below folders that do not exist fell back to a readlink of every component, one full lookup each; on a FUSE card that cost up to 8 ms per probe. The check now climbs to the deepest folder that exists and verifies that one, so links before it are still followed and nothing below it can be a link.
* Skip the link walk for mounts on file systems that cannot hold links
A mount whose source is on vfat or exFAT, or on a FUSE volume backed by
one (Android's SD card), cannot hold symbolic links, so every path in it
is plain. Each mount checks the mount table once, then its paths skip
the link walk and the follow readlink. On the SD card this removes about
two FUSE lookups per file operation.
* Keep the link walk for truncated mount tables and non-volume FUSE mounts
* Skip the last link check for drive paths into mounts that hold no links
Wine reaches games on an SD card library through a drive link in the
prefix (dosdevices/d: -> /mnt/droiddeck-sd). Every stat, open and
access that follows links paid one more readlinkat on the card path
after the rewrite had already found the mount holds no links, and on
Android's storage layer each extra lookup of a deep path costs about a
millisecond. The rewrite now keeps the plain answer it already has, so
the check runs only where a link can exist.
* Keep the link walk when stacked mounts share the covering path
* Trace readlinkat without loading the hook into strace and match the queried path
2026-11-25 22:56:17 -05:00
..
2026-11-01 16:27:27 -05:00
2026-10-25 19:21:40 -04:00
2026-11-17 23:31:26 -05:00
2026-11-05 10:34:19 -05:00
2026-11-02 10:07:26 +00:00
2026-11-24 16:16:26 -05:00
2026-11-21 23:52:56 -05:00
2026-11-17 23:31:26 -05:00
2026-11-15 09:38:01 -05:00
2026-11-15 09:38:01 -05:00
2026-11-01 16:27:27 -05:00
2026-10-18 09:26:01 -04:00
2026-11-18 11:10:57 -05:00
2026-10-21 17:14:03 -04:00
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00
2026-10-22 10:19:23 -04:00
2026-10-27 23:48:05 -04:00
2026-11-23 20:02:13 -05:00
2026-11-05 11:17:03 -05:00
2026-10-29 09:05:20 -04:00
2026-10-23 08:32:52 -04:00
2026-11-24 23:29:32 -05:00
2026-11-23 21:23:56 -05:00
2026-11-24 23:39:23 +00:00
2026-10-18 08:37:09 -04:00
2026-10-30 21:21:22 -04:00
2026-11-25 03:03:03 -05:00
2026-11-25 03:03:03 -05:00
2026-10-29 09:05:20 -04:00
2026-10-20 09:38:14 -04:00
2026-10-13 21:27:42 -04:00
2026-11-20 20:17:52 -05:00
2026-11-18 12:43:31 -05:00
2026-10-23 14:31:13 -04:00
2026-11-01 16:27:27 -05:00
2026-11-18 21:58:57 -05:00
2026-11-23 10:27:47 -05:00
2026-11-17 23:31:26 -05:00
2026-10-26 13:55:18 -04:00
2026-11-24 00:21:26 -05:00
2026-11-22 20:40:30 -05:00
2026-11-01 16:27:27 -05:00
2026-11-15 16:40:45 -05:00
2026-11-23 11:11:10 -05:00
2026-10-25 19:21:40 -04:00
2026-10-28 15:25:48 -04:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-23 21:23:56 -05:00
2026-11-25 21:10:51 -05:00
2026-11-21 00:26:50 -05:00
2026-11-24 16:16:55 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-10-19 09:54:19 -04:00
2026-10-22 13:10:16 -04:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-24 17:49:39 -05:00
2026-11-17 23:31:26 -05:00
2026-11-05 18:33:15 -05:00
2026-10-13 21:27:42 -04:00
2026-11-25 21:04:20 -05:00
2026-10-28 15:25:48 -04:00
2026-10-26 11:41:18 -04:00
2026-11-05 13:32:46 -05:00
2026-11-17 23:31:26 -05:00
2026-11-19 07:33:17 -05:00
2026-11-15 10:31:28 -05:00
2026-11-24 18:25:05 -05:00
2026-11-25 03:03:03 -05:00
2026-11-05 22:06:16 -05:00
2026-11-22 20:40:30 -05:00
2026-11-18 18:32:06 -05:00
2026-11-25 15:54:48 -05:00
2026-10-08 04:06:23 +00:00
2026-11-08 12:03:21 -05:00
2026-11-22 00:16:49 -05:00
2026-11-15 09:37:56 -05:00
2026-10-16 01:48:00 -04:00
2026-11-19 11:04:34 -05:00
2026-11-05 22:06:16 -05:00
2026-10-13 21:27:42 -04:00
2026-11-21 00:26:50 -05:00
2026-11-05 12:09:56 -05:00
2026-11-17 23:31:26 -05:00
2026-10-12 17:13:07 -04:00
2026-11-25 04:24:58 -05:00
2026-10-24 01:43:34 +03:00
2026-11-09 16:41:26 -05:00
2026-11-15 09:55:25 -05:00
2026-11-14 23:56:08 -05:00
2026-11-07 01:08:06 -05:00
2026-11-12 00:13:00 -05:00
2026-10-28 10:19:29 -04:00
2026-10-10 19:12:51 -04:00
2026-11-24 16:21:40 -05:00
2026-11-17 11:19:58 -05:00
2026-11-23 19:09:23 -05:00
2026-11-23 20:02:08 -05:00
2026-11-23 23:41:42 -05:00
2026-10-26 13:40:36 -04:00
2026-11-23 11:11:10 -05:00
2026-11-17 23:31:26 -05:00
2026-11-23 07:20:33 -05:00
2026-11-23 07:20:33 -05:00
2026-11-23 07:20:33 -05:00
2026-11-22 12:22:11 -05:00
2026-11-24 16:21:40 -05:00
2026-11-23 07:20:33 -05:00
2026-11-23 07:20:33 -05:00
2026-10-30 21:21:22 -04:00
2026-10-26 12:47:00 -04:00
2026-10-31 23:36:24 -04:00
2026-11-07 12:46:52 -05:00
2026-11-01 16:27:27 -05:00
2026-11-17 23:31:26 -05:00
2026-11-25 11:26:24 -05:00
2026-11-05 13:32:46 -05:00
2026-11-13 20:57:42 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-01 16:27:27 -05:00
2026-11-05 13:32:46 -05:00
2026-11-24 17:49:54 -05:00
2026-11-22 13:47:22 -05:00
2026-11-21 00:26:50 -05:00
2026-11-03 07:41:24 -05:00
2026-11-07 21:30:21 -05:00
2026-11-15 09:36:43 -05:00
2026-10-18 08:37:09 -04:00
2026-11-17 23:31:26 -05:00
2026-10-23 15:06:27 -04:00
2026-10-23 15:00:11 -04:00
2026-11-22 20:40:30 -05:00
2026-11-21 00:26:50 -05:00
2026-11-01 16:27:27 -05:00
2026-11-24 20:19:53 -05:00
2026-11-02 10:07:26 +00:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-01 16:27:27 -05:00
2026-10-29 15:16:17 -04:00
2026-11-17 23:31:26 -05:00
2026-11-14 18:27:35 -05:00
2026-11-21 23:52:56 -05:00
2026-11-20 11:40:10 -05:00
2026-11-18 21:58:57 -05:00
2026-10-18 08:37:09 -04:00
2026-11-01 16:27:27 -05:00
2026-11-24 17:48:17 -05:00
2026-11-24 18:24:41 -05:00
2026-11-24 15:33:49 -05:00
2026-11-24 14:07:01 -05:00
2026-11-24 10:30:54 -05:00
2026-11-25 22:56:17 -05:00
2026-11-23 22:53:19 -05:00
2026-11-23 18:48:52 -05:00
2026-11-24 17:48:17 -05:00
2026-11-25 03:03:03 -05:00
2026-11-24 16:18:05 -05:00
2026-11-23 11:11:10 -05:00
2026-11-22 16:20:34 -05:00
2026-11-05 11:43:30 -05:00
2026-11-17 08:29:32 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-21 00:26:50 -05:00
2026-11-13 20:26:08 -05:00
2026-10-23 16:20:42 -04:00
2026-10-29 09:05:20 -04:00
2026-11-24 18:15:35 -05:00
2026-11-15 09:38:01 -05:00
2026-11-15 09:38:01 -05:00
2026-11-01 16:27:27 -05:00
2026-11-17 23:27:24 -05:00
2026-11-05 22:06:16 -05:00
2026-11-01 16:27:27 -05:00
2026-11-05 22:06:16 -05:00
2026-11-08 21:13:53 -05:00
2026-11-17 23:31:26 -05:00
2026-11-24 17:19:24 -05:00
2026-10-18 08:37:09 -04:00
2026-10-25 16:49:35 -04:00
2026-10-13 21:31:26 -04:00
2026-11-24 23:39:23 +00:00
2026-11-05 22:06:16 -05:00
2026-11-08 09:07:31 -05:00
2026-11-03 21:58:49 -05:00
2026-11-01 16:27:27 -05:00
2026-10-16 01:48:00 -04:00
2026-11-21 00:26:50 -05:00
2026-10-18 08:59:54 -04:00
2026-11-14 23:40:08 -05:00
2026-11-01 16:27:27 -05:00
2026-11-23 21:55:27 -05:00
2026-10-30 13:29:10 -04:00
2026-11-12 16:03:41 -05:00
2026-11-24 09:37:09 -05:00
2026-11-23 21:55:27 -05:00
2026-11-08 16:53:01 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-01 16:27:27 -05:00
2026-11-17 23:31:26 -05:00
2026-11-08 08:54:56 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-10-22 10:40:48 -04:00
2026-10-13 21:27:42 -04:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-01 16:27:27 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-08 12:03:21 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-10-09 21:35:37 +00:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-10-24 13:18:04 -04:00
2026-11-24 17:50:09 -05:00
2026-11-17 23:31:26 -05:00
2026-11-24 15:18:41 -05:00
2026-10-13 21:27:42 -04:00
2026-11-17 23:31:26 -05:00
2026-11-01 19:55:18 -05:00
2026-11-24 15:18:41 -05:00
2026-11-21 23:52:53 -05:00
2026-10-29 09:05:20 -04:00
2026-10-23 13:05:04 -04:00
2026-10-24 21:13:58 -04:00
2026-11-17 23:31:26 -05:00
2026-11-24 16:17:04 -05:00
2026-11-17 23:31:26 -05:00
2026-11-23 14:16:51 -05:00
2026-11-05 11:56:42 -05:00
2026-11-04 17:47:00 -05:00
2026-11-17 23:31:26 -05:00
2026-11-11 20:55:45 -05:00
2026-11-17 23:31:26 -05:00
2026-11-22 14:16:34 -05:00
2026-11-17 23:31:26 -05:00
2026-10-16 01:48:00 -04:00
2026-10-18 08:37:09 -04:00
2026-10-19 12:31:23 -04:00
2026-10-17 13:17:05 -04:00
2026-10-18 08:37:09 -04:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-11-24 18:15:30 -05:00
2026-11-21 09:56:31 +09:00
2026-11-24 23:39:23 +00:00
2026-11-01 16:27:27 -05:00
2026-11-24 17:49:49 -05:00
2026-10-29 09:05:20 -04:00
2026-11-18 11:10:57 -05:00
2026-11-17 23:31:26 -05:00
2026-11-01 16:27:27 -05:00
2026-11-17 23:31:26 -05:00
2026-11-20 20:17:52 -05:00
2026-11-24 17:50:04 -05:00
2026-11-14 23:40:08 -05:00
2026-11-17 23:31:26 -05:00
2026-11-16 15:00:05 -05:00
2026-11-23 17:31:13 -05:00
2026-11-23 17:31:13 -05:00
2026-11-17 23:31:26 -05:00
2026-11-11 20:55:41 -05:00
2026-11-18 11:10:57 -05:00
2026-11-05 22:06:16 -05:00
2026-11-24 17:33:21 -05:00
2026-11-21 23:40:11 -05:00
2026-11-20 14:42:44 -05:00
2026-11-16 11:47:04 -05:00
2026-10-20 00:31:03 -04:00
2026-10-16 01:48:00 -04:00
2026-10-16 01:48:00 -04:00
2026-10-16 01:48:00 -04:00
2026-10-16 01:48:00 -04:00
2026-11-17 23:31:26 -05:00
2026-10-18 08:59:54 -04:00
2026-11-18 11:10:57 -05:00
2026-11-24 00:12:02 -05:00
2026-10-29 10:01:25 -04:00
2026-11-15 09:20:02 -05:00
2026-10-18 08:37:09 -04:00
2026-11-17 23:31:26 -05:00
2026-11-17 23:31:26 -05:00
2026-10-22 19:53:12 +00:00
2026-10-23 14:31:13 -04:00
2026-11-18 16:59:45 -05:00
2026-11-05 22:06:16 -05:00
2026-11-21 20:11:18 -05:00
2026-11-18 11:10:57 -05:00
2026-11-05 22:06:16 -05:00
2026-11-21 23:40:11 -05:00
2026-11-24 14:19:42 -05:00
2026-11-05 22:06:16 -05:00