LINUXMIND.DEVTHE GNU/LINUX WORLD

Linux 7.5 raises the GPU mmap range to 8TB for multi-GPU rigs

Flat editorial vector illustration of several GPU cards linked by arrows over an expanding range of nested rectangles, on a cream background

Another quiet but consequential kernel patch is queued for Linux 7.5, and it says a lot about where desktop and workstation hardware is heading. Intel engineer Matthew Auld has posted a change that expands the fake mmap offset range the kernel’s graphics drivers use for GEM and TTM buffer objects from 1 TB up to 8 TB. The patch is riding into the next kernel cycle through this week’s drm-misc-next pull request to DRM-Next, with the 7.5 merge window expected to open in late December.

The failure it fixes

Every GEM/TTM buffer object — including imported dma-bufs — is handed a fake mmap offset by a per-device drm_vma_offset_manager. Those offsets are drawn from a 64-bit range that was capped at 1 TiB. On a multi-GPU machine stuffed with video memory, peer-to-peer dma-buf imports moving between devices and processes can chew straight through that TiB and then fail: buffer-object creation or PRIME import returns -ENOSPC, and your application never gets the memory it asked for.

The obvious shortcut — stop allocating offsets for imported scatter-gather buffers — is not safe, because userspace still reads mmap_offset even when it maps the dma-buf file descriptor directly. Intel’s own compute-runtime is a case in point. So rather than rewrite the contract, the patch simply raises the ceiling: on 64-bit kernels, DRM_FILE_PAGE_OFFSET_SIZE now spans up to 8 TiB (SZ_8T).

Why 8 TB and not more

The number is not arbitrary. The new range stays strictly below panthor’s DRM_PANTHOR_USER_MMIO_OFFSET_32BIT carveout at 1 << 43, and it remains inside the pgoff limit that 32-bit compat mmap2 can address — 16 TiB with 4 KB pages. In other words, 8 TiB is the largest value that still plays nicely with the existing 32-bit compatibility layer, so that is where the line was drawn.

Intel’s timing is telling, too. Crescent Island, better known as the Intel GPU D Series, is set to offer up to 160 GB of LPDDR5X per card. Multiply that across a few accelerators in one box and the old 1 TiB offset budget starts to look uncomfortably small — which is exactly why the groundwork is landing now, months before the hardware ships.

What changes for you

For most people, the short answer is nothing. This is plumbing, not a performance feature — your games will not run faster because of it. The table below sums up who should care.

Your setup What to do
Single-GPU desktop Nothing. You will never come close to the old 1 TiB limit and the patch is effectively invisible to you.
Multi-GPU workstation or AI rig Wait for Linux 7.5. It removes the -ENOSPC and failed PRIME imports on high-VRAM multi-GPU systems, with roughly eight times the offset headroom.
Distribution user No action. The change is kernel-side and arrives with your next 7.5 kernel, not as anything you install by hand.

It is worth being clear about what this is and is not. It is not a speed-up and it will not show up in any benchmark chart. It is the kind of unglamorous maintenance that stops a specific class of failure — the one where a memory-hungry workload silently falls over because the kernel ran out of fake addresses, not real memory. Those failures are miserable to diagnose, which is precisely why it is better to retire the limit than to explain it later.

The 1 TB figure dates from an era when a single card carrying 160 GB was science fiction. Linux 7.5 quietly puts it out to pasture, and if you run more than one GPU with serious VRAM, that is a good thing.

Fuentes: Phoronix (phoronix.com/news/Linux-7.5-DRM-8TB-mmap), parche de Matthew Auld (lore.kernel.org/all/20261112122049.1990826-2-matthew.auld@intel.com).




Leave a Reply

Your email address will not be published. Required fields are marked *