From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751654AbZIHRK0 (ORCPT ); Tue, 8 Sep 2009 13:10:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751283AbZIHRK0 (ORCPT ); Tue, 8 Sep 2009 13:10:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8026 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750934AbZIHRKZ (ORCPT ); Tue, 8 Sep 2009 13:10:25 -0400 Message-ID: <4AA68FEB.6090703@redhat.com> Date: Tue, 08 Sep 2009 13:10:03 -0400 From: Rik van Riel Organization: Red Hat, Inc User-Agent: Thunderbird 2.0.0.17 (X11/20080915) MIME-Version: 1.0 To: Hugh Dickins CC: Andrew Morton , Hiroaki Wakabayashi , Lee Schermerhorn , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Linus Torvalds , Nick Piggin , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 1/8] mm: munlock use follow_page References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Nice cleanup. Acked-by: Rik van Riel -- All rights reversed. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id 93F176B007E for ; Tue, 8 Sep 2009 13:10:13 -0400 (EDT) Message-ID: <4AA68FEB.6090703@redhat.com> Date: Tue, 08 Sep 2009 13:10:03 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 1/8] mm: munlock use follow_page References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Hugh Dickins Cc: Andrew Morton , Hiroaki Wakabayashi , Lee Schermerhorn , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Linus Torvalds , Nick Piggin , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: 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 Nice cleanup. Acked-by: Rik van Riel -- All rights reversed. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org