On Sat, Sep 26, 2020 at 4:23 PM Jason Gunthorpe wrote:
>
> Linus's version doesn't do pte_sw_mkyoung(), but looks OK to have it
I don't think it matters. But I don't think it should make it young,
since there's no access, but it's not like it's a big deal.
> > + pte
On Fri, Sep 25, 2020 at 06:25:59PM -0400, Peter Xu wrote:
> -static inline void
> +/*
> + * Copy one pte. Returns 0 if succeeded, or -EAGAIN if one preallocated page
> + * is required to copy this pte.
> + */
> +static inline int
> copy_present_pte(struct mm_struct *dst_mm, struct mm_struct
It allows copy_pte_range() to do early cow if the pages were pinned on the
source mm. Currently we don't have an accurate way to know whether a page is
pinned or not. The only thing we have is page_maybe_dma_pinned(). However
that's good enough for now. Especially, with the newly added
3 matches
Mail list logo