On 3/29/22 18:04, David Hildenbrand wrote: > Let's move the pinning check into the caller, to simplify return code > logic and prepare for further changes: relocating the > page_needs_cow_for_dma() into rmap handling code. > > While at it, remove the unused pte parameter and simplify the comments a > bit. > > No functional change intended. > > Signed-off-by: David Hildenbrand <david@xxxxxxxxxx> Yeah, much better. Acked-by: Vlastimil Babka <vbabka@xxxxxxx>