aneinander and Claude Opus 5.5
8931aae8b2
sycl: keep the device out of plain system memory
...
On kernel 7.0 the xe driver can oops (drm_pagemap_zdd_destroy from
__drm_pagemap_migrate_to_ram) when the CPU faults on a page its shared
virtual memory had migrated into VRAM. The backend reached plain system
memory in several ways; each now uses USM the runtime knows:
- RAD_MEM_HOST_PINNED/_MAPPED are sycl::aligned_alloc_host, not
posix_memalign + prepare_for_device_copy. O_DIRECT cannot target those
pages (EFAULT), so DirectFile bounces such transfers through an 8 MiB
buffer. The 27B load is not slower (10.8 s read, disk-bound).
- Copies with a pageable side are staged through a host-USM bounce,
synchronously (rare: startup and tests). The ranged copy stages a host
range list even when its source is on the card, and refuses a pageable
destination, which its kernel would write.
- scatter_rows' bad-index flag is host USM, not shared.
- Gates are gone (the documented state): a spinning kernel never sees a
host store to host USM, and a device flag opened by a copy from another
queue deadlocks behind copies queued past the gate. rad-kbench times
ungated; the gate tests skip on backends without gates.
Checked: device_test (sycl) 70 cases, 0 failed; rad-kbench fixture
1989/1989; 27B int4 chat output byte-identical (c4c5ba5e727c) at
30.6 tok/s; no xe messages in the kernel log.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-18 17:56:05 +01:00
..
2026-11-16 18:03:16 +01:00
2026-11-17 18:12:32 +01:00
2026-11-04 18:56:58 +01:00
2026-11-14 22:32:28 +01:00
2026-11-17 18:12:32 +01:00
2026-11-02 00:25:57 +01:00
2026-11-18 15:06:17 +01:00
2026-11-18 15:06:17 +01:00
2026-10-16 18:25:18 +02:00
2026-11-17 22:11:30 +01:00
2026-11-14 22:32:28 +01:00
2026-11-17 22:11:30 +01:00
2026-11-15 20:38:10 +00:00
2026-11-15 20:38:10 +00:00
2026-11-15 16:00:05 +01:00
2026-10-16 18:25:18 +02:00
2026-10-30 22:01:01 +01:00
2026-11-17 18:26:13 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-17 20:43:11 +01:00
2026-11-15 22:02:27 +00:00
2026-11-14 22:32:28 +01:00
2026-11-16 18:03:16 +01:00
2026-11-17 18:12:32 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-18 15:06:17 +01:00
2026-11-17 22:11:30 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-18 17:56:05 +01:00
2026-11-15 16:00:05 +01:00
2026-11-15 22:02:27 +00:00
2026-11-03 14:35:30 -05:00
2026-11-03 13:56:46 -05:00
2026-11-03 13:56:46 -05:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-11-17 18:12:32 +01:00
2026-11-14 22:32:28 +01:00
2026-11-16 17:57:46 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 22:02:30 +00:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-11-15 20:38:09 +00:00
2026-10-16 18:25:18 +02:00
2026-11-04 07:20:29 +01:00
2026-11-04 07:21:07 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-11-15 21:15:23 +00:00
2026-11-15 16:00:05 +01:00
2026-10-22 11:06:34 +02:00
2026-10-22 11:06:34 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-11-15 20:38:10 +00:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-25 12:09:29 +01:00
2026-10-25 10:55:27 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-11-15 20:38:09 +00:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-11-04 22:08:53 +01:00
2026-11-14 22:32:28 +01:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-12 11:46:14 +02:00
2026-11-17 18:12:32 +01:00
2026-11-14 22:32:28 +01:00
2026-10-16 20:52:09 -05:00
2026-11-14 22:32:28 +01:00
2026-11-17 18:18:56 +01:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-29 00:44:13 -04:00
2026-10-16 18:25:18 +02:00
2026-10-28 00:33:55 -04:00
2026-10-16 18:25:18 +02:00
2026-11-04 07:20:29 +01:00
2026-11-15 16:00:05 +01:00
2026-10-22 11:06:34 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-28 23:44:38 -04:00
2026-10-12 11:46:14 +02:00
2026-11-17 18:12:32 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-10-30 09:47:42 -03:00
2026-10-30 09:47:42 -03:00
2026-10-30 10:22:53 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 07:04:01 +00:00
2026-10-20 07:04:01 +00:00
2026-10-04 12:02:41 +02:00
2026-11-15 16:00:05 +01:00
2026-11-17 21:49:45 +01:00
2026-10-24 13:12:28 +02:00
2026-11-17 22:11:30 +01:00
2026-11-17 18:24:56 +01:00
2026-10-30 09:47:42 -03:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-16 18:25:18 +02:00
2026-11-18 15:06:17 +01:00
2026-10-20 07:04:01 +00:00
2026-10-16 18:25:18 +02:00
2026-11-17 20:33:07 +01:00
2026-11-14 22:32:28 +01:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-21 09:26:17 +02:00
2026-11-04 18:56:58 +01:00
2026-10-16 18:25:18 +02:00
2026-10-28 12:48:13 +01:00
2026-10-26 15:22:39 +01:00
2026-10-30 22:01:01 +01:00
2026-11-17 18:35:11 +01:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-30 10:22:53 +01:00
2026-10-30 10:22:53 +01:00
2026-11-14 22:32:28 +01:00
2026-10-19 13:37:01 +02:00
2026-11-15 16:00:05 +01:00
2026-11-04 22:08:53 +01:00
2026-11-17 18:26:13 +01:00
2026-11-14 22:32:28 +01:00
2026-11-17 18:41:16 +01:00
2026-11-14 22:32:28 +01:00
2026-11-17 18:35:11 +01:00
2026-10-20 07:06:18 +00:00
2026-11-14 22:32:28 +01:00
2026-11-17 21:49:45 +01:00
2026-10-30 21:32:03 -05:00
2026-11-17 22:11:30 +01:00
2026-11-14 22:32:28 +01:00
2026-11-16 17:57:46 +01:00
2026-11-14 22:32:28 +01:00
2026-11-02 18:35:02 +01:00
2026-11-04 22:08:06 +01:00
2026-11-17 19:21:59 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-03 13:53:26 -05:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:26 -05:00
2026-11-14 22:32:28 +01:00
2026-11-03 13:53:27 -05:00
2026-11-03 13:53:26 -05:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-11-17 21:49:45 +01:00
2026-11-17 21:49:45 +01:00
2026-10-27 18:37:28 +01:00
2026-11-17 21:49:45 +01:00
2026-10-30 22:01:01 +01:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-18 11:38:37 +02:00
2026-10-29 13:45:18 -04:00
2026-10-16 18:25:18 +02:00
2026-11-17 18:12:32 +01:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-11-03 19:07:34 +01:00
2026-10-19 10:36:27 +02:00
2026-10-16 18:25:18 +02:00
2026-10-24 13:12:28 +02:00
2026-10-31 07:50:43 +01:00
2026-11-04 18:56:58 +01:00
2026-10-20 07:04:01 +00:00
2026-10-23 11:57:52 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-10-31 07:50:43 +01:00
2026-11-17 18:28:50 +01:00
2026-11-04 18:56:58 +01:00
2026-11-14 22:32:28 +01:00
2026-10-18 11:38:37 +02:00
2026-11-15 20:38:10 +00:00
2026-10-16 18:25:18 +02:00