Thread (26 messages) 26 messages, 8 authors, 2026-01-16

Re: [PATCH v5 1/5] mm/zone_device: Reinitialize large zone device private folios

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2026-01-14 21:48:27
Also in: amd-gfx, dri-devel, intel-xe, kvm, linux-cxl, linux-mm, lkml, nouveau

On Wed, 14 Jan 2026 20:19:52 +0100 Francois Dugast [off-list ref] wrote:
Reinitialize metadata for large zone device private folios in
zone_device_page_init prior to creating a higher-order zone device
private folio. This step is necessary when the folio’s order changes
dynamically between zone_device_page_init calls to avoid building a
corrupt folio. As part of the metadata reinitialization, the dev_pagemap
must be passed in from the caller because the pgmap stored in the folio
page may have been overwritten with a compound head.
Thanks.  What are the worst-case userspace-visible effects of the bug?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help