Re: [PATCH v3] drm/shmem-helper: Fix Map huge page mapping in fault handler
From: Boris Brezillon
Date: Mon Mar 16 2026 - 06:36:54 EST
On Mon, 16 Mar 2026 11:14:40 +0100
Thomas Zimmermann <tzimmermann@xxxxxxx> wrote:
> Am 16.03.26 um 10:50 schrieb Boris Brezillon:
>
> >> Avoid this race by adding a huge_fault callback to drm_gem_shmem_vm_ops so that
> >> PMD-sized mappings are handled through the appropriate huge page fault path.
>
> This patch will conflict heavily with the folio-tracking patches that
> has been merged into upstream DRM. How do we deal with that?
We need a fix in drm-misc-fixes since it's a bug that exists in v7.0,
and a conflict resolution recorded in drm-tip to deal with the
drm-misc-fixes vs drm-misc-next conflicts (I don't remember the exact
process, but it's documented in dim).