Re: [PATCH 1/8] mm: munlock use follow_page

From: Rik van Riel
Date: Tue Sep 08 2009 - 13:10:34 EST


Hugh Dickins wrote:
Hiroaki Wakabayashi points out that when mlock() has been interrupted
by SIGKILL, the subsequent munlock() takes unnecessarily long because
its use of __get_user_pages() insists on faulting in all the pages
which mlock() never reached.

Signed-off-by: Hugh Dickins <hugh.dickins@xxxxxxxxxxxxx>

Nice cleanup.

Acked-by: Rik van Riel <riel@xxxxxxxxxx>

--
All rights reversed.
--
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/