> On Nov 21, 2018, at 5:35 AM, Matthew Wilcox <wi...@infradead.org> wrote: > > It's probably better to be more explicit and answer Randy's question: > > * If we fail to insert any page into the vma, the function will return > * immediately leaving any previously-inserted pages present. Callers > * from the mmap handler may immediately return the error as their > * caller will destroy the vma, removing any successfully-inserted pages. > * Other callers should make their own arrangements for calling unmap_region(). That works for me as well. _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu
- Re: [PATCH 1/9] mm: Introduce new vm_insert_range API Slavomir Kaslev
- Re: [PATCH 1/9] mm: Introduce new vm_insert_range API Mike Rapoport
- Re: [PATCH 1/9] mm: Introduce new vm_insert_range A... Souptick Joarder
- Re: [PATCH 1/9] mm: Introduce new vm_insert_ran... Matthew Wilcox
- Re: [PATCH 1/9] mm: Introduce new vm_insert... Souptick Joarder
- Re: [PATCH 1/9] mm: Introduce new vm_in... Mike Rapoport
- Re: [PATCH 1/9] mm: Introduce new ... Souptick Joarder
- Re: [PATCH 1/9] mm: Introduce ... Mike Rapoport
- Re: [PATCH 1/9] mm: Introduce new vm_in... William Kucharski
- Re: [PATCH 1/9] mm: Introduce new ... Matthew Wilcox
- Re: [PATCH 1/9] mm: Introduce ... William Kucharski
- Re: [PATCH 1/9] mm: Introduce new vm_insert_range API Heiko Stübner