Re: [PATCH] mm: make munlock fast when mlock is canceled by sigkill

From: KAMEZAWA Hiroyuki
Date: Tue Aug 25 2009 - 05:39:41 EST


On Tue, 25 Aug 2009 10:03:30 +0100 (BST)
Hugh Dickins <hugh.dickins@xxxxxxxxxxxxx> wrote:
> My advice (but I sure hate giving advice before I've tried it myself)
> is to put __mlock_vma_pages_range() back to handling just the mlock
> case, and do your own follow_page() loop in munlock_vma_pages_range().
>

I have no objections to make use of follow_page().

Thanks,
-Kame

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/