From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758317AbYGDBtq (ORCPT ); Thu, 3 Jul 2008 21:49:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754763AbYGDBti (ORCPT ); Thu, 3 Jul 2008 21:49:38 -0400 Received: from E23SMTP02.au.ibm.com ([202.81.18.163]:35433 "EHLO e23smtp02.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754007AbYGDBth (ORCPT ); Thu, 3 Jul 2008 21:49:37 -0400 Message-ID: <486D81B1.1020609@linux.vnet.ibm.com> Date: Fri, 04 Jul 2008 07:19:37 +0530 From: Balbir Singh Reply-To: balbir@linux.vnet.ibm.com Organization: IBM User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Hugh Dickins CC: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 2.6.26-rc8-mm1] memrlimit: fix mmap_sem deadlock References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hugh Dickins wrote: > "ps -f" hung after "killall make" of make -j20 kernel builds. It's > generally considered bad manners to down_write something you already > have down_read. exit_mm up_reads before calling mm_update_next_owner, > so I guess exec_mmap can safely do so too. (And with that repositioning > there's not much point in mm_need_new_owner allowing for NULL mm.) > > Signed-off-by: Hugh Dickins Thanks! Acked-by: Balbir Singh -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL