chrg6
4d12238e69
Let a shadow write-back clear the write watch's protection of its range in one call on Linux (shadow_bulk_write = 1).
...
On Linux the write watch protects pages, so a write-back from shadow storage into guest memory took a fault
at the first store into every page. plat_mem_prepare_write clears the protection of a range with one
UFFDIO_WRITEPROTECT call; the pages count as written, as they would after the faults. Off by default;
Windows has nothing to clear.
Pull request #327 by theurbanninja1993-sketch (a draft on GitHub). The platform function and its Linux
test are taken as they are. The call moved: the write-back it was written for is now shadow_write_back in
runtime/vk_memory.c (a file other sessions are changing), where it covers the runs of pages a submission
changed, and the setting is registered in cfg.c and described in nx2navi.ini.example, which also says
that the lazy write-back stays off with shadow storage.
The Windows files compile; the Linux code and its test are not compiled or run here.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-10 06:31:27 -05:00
..
2026-11-09 20:48:10 -05:00
2026-11-10 06:31:27 -05:00
2026-11-10 06:30:06 -05:00
2026-11-07 13:31:06 -05:00
2026-11-10 04:39:19 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:19:19 -05:00
2026-11-09 08:19:19 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 00:21:31 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 01:55:30 -05:00
2026-11-10 00:21:31 -05:00
2026-11-09 20:51:05 -05:00
2026-11-10 00:21:31 -05:00
2026-11-09 21:54:40 -05:00
2026-11-10 06:31:27 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:09:25 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 01:25:12 -05:00
2026-11-09 09:10:36 -05:00
2026-11-09 21:54:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 13:13:43 -05:00
2026-11-10 03:32:46 -05:00
2026-11-09 21:11:18 -05:00
2026-11-09 21:11:18 -05:00
2026-11-09 21:01:47 -05:00
2026-11-09 23:42:12 -05:00
2026-11-10 00:21:31 -05:00
2026-11-08 00:34:29 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 20:51:04 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 20:51:09 -05:00
2026-11-09 08:18:19 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 23:42:12 -05:00
2026-11-07 16:02:30 -05:00
2026-11-10 06:17:13 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 23:54:29 -05:00
2026-11-09 03:34:46 -05:00
2026-11-10 01:55:30 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 21:54:40 -05:00
2026-11-09 20:48:10 -05:00
2026-11-09 21:54:40 -05:00
2026-11-09 20:48:10 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 06:17:13 -05:00
2026-11-10 05:37:14 -05:00
2026-11-07 09:26:51 -05:00
2026-11-07 09:26:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-09 08:09:25 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 12:18:17 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 18:03:20 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 20:48:10 -05:00
2026-11-09 23:42:12 -05:00
2026-11-09 20:48:10 -05:00
2026-11-08 15:51:47 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:54:25 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:19:55 -05:00
2026-11-07 13:31:07 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 01:55:27 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 02:40:51 -05:00
2026-11-09 21:21:48 -05:00
2026-11-09 02:40:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 06:20:40 -05:00
2026-11-10 04:39:19 -05:00
2026-11-10 04:39:19 -05:00
2026-11-09 08:20:32 -05:00
2026-11-09 08:20:01 -05:00
2026-11-07 05:04:38 -05:00
2026-11-10 01:55:28 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 00:21:31 -05:00
2026-11-09 11:22:38 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 13:13:43 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 06:30:06 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 13:13:43 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 14:56:17 -05:00
2026-11-10 04:39:19 -05:00
2026-11-09 18:17:12 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 21:10:23 -05:00
2026-11-10 06:17:13 -05:00
2026-11-10 03:32:46 -05:00
2026-11-09 21:10:23 -05:00
2026-11-09 12:18:17 -05:00
2026-11-09 12:18:17 -05:00
2026-11-10 06:24:56 -05:00
2026-11-10 06:30:06 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 18:49:12 -05:00
2026-11-10 06:20:40 -05:00
2026-11-10 04:39:19 -05:00
2026-11-09 12:20:05 -05:00
2026-11-07 13:31:06 -05:00
2026-11-09 21:54:40 -05:00
2026-11-09 02:40:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 03:34:46 -05:00
2026-11-10 06:30:06 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 23:27:02 -05:00
2026-11-10 06:20:03 -05:00
2026-11-10 06:31:27 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-10 06:30:06 -05:00
2026-11-09 20:48:10 -05:00
2026-11-09 08:09:26 -05:00
2026-11-10 06:30:06 -05:00
2026-11-10 06:24:18 -05:00
2026-11-09 03:34:46 -05:00
2026-11-10 06:24:18 -05:00
2026-11-07 05:04:38 -05:00
2026-11-10 06:30:06 -05:00
2026-11-09 12:45:14 -05:00