Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261267AbVAHW46 (ORCPT ); Sat, 8 Jan 2005 17:56:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261282AbVAHWxw (ORCPT ); Sat, 8 Jan 2005 17:53:52 -0500 Received: from clock-tower.bc.nu ([81.2.110.250]:29125 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S261270AbVAHWxd (ORCPT ); Sat, 8 Jan 2005 17:53:33 -0500 Subject: Re: [PATCH] A new entry for /proc From: Alan Cox To: Hugh Dickins Cc: Andrew Morton , Mauricio Lin , William Irwin , Linux Kernel Mailing List In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1105215103.10519.52.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sat, 08 Jan 2005 21:47:00 +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 643 Lines: 13 On Sad, 2005-01-08 at 20:20, Hugh Dickins wrote: > Seems to have no locking: needs to down_read mmap_sem to guard vmas. > Does it need page_table_lock? I think not (and proc_pid_statm didn't). The mmap_sem is insufficient during an exec - something that the sys_uselib changes noted. It would work in -ac but thats a property of how I fixed it rather than how Linus fixed it for the base kernel. - 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/