Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751315Ab0FQETg (ORCPT ); Thu, 17 Jun 2010 00:19:36 -0400 Received: from smtp-out.google.com ([216.239.44.51]:3691 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751197Ab0FQETf (ORCPT ); Thu, 17 Jun 2010 00:19:35 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:user-agent:mime-version:content-type:x-system-of-record; b=hwlPhe2N0EJy9y/GdVjQ3CqOXW78sUB1CFuS5kLawSAGGECeBTVjg/gL6VSWfZYLN J5YwkNGpisjalL4GlqsXA== Date: Wed, 16 Jun 2010 21:19:31 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: KOSAKI Motohiro cc: LKML , linux-mm , Andrew Morton , Minchan Kim , KAMEZAWA Hiroyuki Subject: Re: [PATCH 4/9] oom: oom_kill_process() need to check p is unkillable In-Reply-To: <20100617104647.FB89.A69D9226@jp.fujitsu.com> Message-ID: References: <20100617104311.FB7A.A69D9226@jp.fujitsu.com> <20100617104647.FB89.A69D9226@jp.fujitsu.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 671 Lines: 16 On Thu, 17 Jun 2010, KOSAKI Motohiro wrote: > When oom_kill_allocating_task is enabled, an argument task of > oom_kill_process is not selected by select_bad_process(), It's > just out_of_memory() caller task. It mean the task can be > unkillable. check it first. > This should be unnecessary if oom_kill_process() appropriately returns non-zero when it cannot kill a task. What problem are you addressing with this fix? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/