[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH 1/9] mm: Introduce new vm_insert_range API
- To: Matthew Wilcox <willy@xxxxxxxxxxxxx>
- From: William Kucharski <william.kucharski@xxxxxxxxxx>
- Date: Wed, 21 Nov 2018 07:29:37 -0700
- Cc: Michal Hocko <mhocko@xxxxxxxx>, Heiko Stuebner <heiko@xxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, dri-devel@xxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Linux-MM <linux-mm@xxxxxxxxx>, linux1394-devel@xxxxxxxxxxxxxxxxxxxxx, Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>, oleksandr_andrushchenko@xxxxxxxx, joro@xxxxxxxxxx, Russell King - ARM Linux <linux@xxxxxxxxxxxxxxx>, iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx, rppt@xxxxxxxxxxxxx, airlied@xxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-rockchip@xxxxxxxxxxxxxxxxxxx, treding@xxxxxxxxxx, linux-media@xxxxxxxxxxxxxxx, Kees Cook <keescook@xxxxxxxxxxxx>, pawel@xxxxxxxxxx, Rik van Riel <riel@xxxxxxxxxxx>, rppt@xxxxxxxxxxxxxxxxxx, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, mchehab@xxxxxxxxxx, iamjoonsoo.kim@xxxxxxx, vbabka@xxxxxxx, Juergen Gross <jgross@xxxxxxxx>, hjc@xxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxx, Kyungmin Park <kyungmin.park@xxxxxxxxxxx>, stefanr@xxxxxxxxxxxxxxxxx, Souptick Joarder <jrdr.linux@xxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, robin.murphy@xxxxxxx, "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx>
- Delivery-date: Wed, 21 Nov 2018 14:31:11 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
> On Nov 21, 2018, at 5:35 AM, Matthew Wilcox <willy@xxxxxxxxxxxxx> 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.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|