Re: [PATCH v4 12/20] mm/huge_memory: update remove_migration_pmd() to accept a folio
"David Hildenbrand (Arm)" <[email protected]>
| Newsgroups | gmane.comp.freedesktop.amd-gfx,gmane.linux.kernel.mm,gmane.linux.kernel,gmane.linux.file-systems,gmane.comp.emulators.kvm.devel,gmane.comp.video.dri.devel,gmane.linux.kernel.perf.user |
|---|---|
| Message-ID | <[email protected]> |
On 8/6/26 22:21, Lorenzo Stoakes (ARM) wrote: > This function does not need to accept a page and requiring it to is unnecessary > and misleading. > > make_[writable, readable]_device_private_entry() must be passed a > PMD-aligned PFN as they immediately used to obtain a softleaf PMD entry and > the same argument applies to folio_add_[anon, file]_rmap_pmd(). > > While we are here, update a VM_BUG_ON() to a VM_WARN_ON_ONCE(). > > No functional change intended. > > Signed-off-by: Lorenzo Stoakes (ARM) <[email protected]> Acked-by: David Hildenbrand (Arm) <[email protected]> -- Cheers, David