From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2992934Ab2KOIrE (ORCPT ); Thu, 15 Nov 2012 03:47:04 -0500 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:48878 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2992466Ab2KOIrD (ORCPT ); Thu, 15 Nov 2012 03:47:03 -0500 X-SecurityPolicyCheck: OK by SHieldMailChecker v1.8.4 Message-ID: <50A4ABF6.9060505@jp.fujitsu.com> Date: Thu, 15 Nov 2012 17:46:46 +0900 From: Kamezawa Hiroyuki User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: David Rientjes CC: Andrew Morton , KOSAKI Motohiro , Michal Hocko , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [patch 3/4] mm, oom: remove redundant sleep in pagefault oom handler References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (2012/11/14 18:15), David Rientjes wrote: > out_of_memory() will already cause current to schedule if it has not been > killed, so doing it again in pagefault_out_of_memory() is redundant. > Remove it. > > Cc: KAMEZAWA Hiroyuki > Cc: KOSAKI Motohiro > Cc: Michal Hocko > Signed-off-by: David Rientjes Acked-by: KAMEZAWA Hiroyuki From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx105.postini.com [74.125.245.105]) by kanga.kvack.org (Postfix) with SMTP id 911836B00A2 for ; Thu, 15 Nov 2012 03:47:02 -0500 (EST) Received: from m2.gw.fujitsu.co.jp (unknown [10.0.50.72]) by fgwmail6.fujitsu.co.jp (Postfix) with ESMTP id 33A983EE0B5 for ; Thu, 15 Nov 2012 17:47:01 +0900 (JST) Received: from smail (m2 [127.0.0.1]) by outgoing.m2.gw.fujitsu.co.jp (Postfix) with ESMTP id 1AFB245DE53 for ; Thu, 15 Nov 2012 17:47:01 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (s2.gw.fujitsu.co.jp [10.0.50.92]) by m2.gw.fujitsu.co.jp (Postfix) with ESMTP id F3CB545DD74 for ; Thu, 15 Nov 2012 17:47:00 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id E44651DB802C for ; Thu, 15 Nov 2012 17:47:00 +0900 (JST) Received: from ml14.s.css.fujitsu.com (ml14.s.css.fujitsu.com [10.240.81.134]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 9D7D31DB803E for ; Thu, 15 Nov 2012 17:47:00 +0900 (JST) Message-ID: <50A4ABF6.9060505@jp.fujitsu.com> Date: Thu, 15 Nov 2012 17:46:46 +0900 From: Kamezawa Hiroyuki MIME-Version: 1.0 Subject: Re: [patch 3/4] mm, oom: remove redundant sleep in pagefault oom handler References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Andrew Morton , KOSAKI Motohiro , Michal Hocko , linux-kernel@vger.kernel.org, linux-mm@kvack.org (2012/11/14 18:15), David Rientjes wrote: > out_of_memory() will already cause current to schedule if it has not been > killed, so doing it again in pagefault_out_of_memory() is redundant. > Remove it. > > Cc: KAMEZAWA Hiroyuki > Cc: KOSAKI Motohiro > Cc: Michal Hocko > Signed-off-by: David Rientjes Acked-by: KAMEZAWA Hiroyuki -- 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