Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751330AbWCaLze (ORCPT ); Fri, 31 Mar 2006 06:55:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751333AbWCaLze (ORCPT ); Fri, 31 Mar 2006 06:55:34 -0500 Received: from e2.ny.us.ibm.com ([32.97.182.142]:49578 "EHLO e2.ny.us.ibm.com") by vger.kernel.org with ESMTP id S1751330AbWCaLzd (ORCPT ); Fri, 31 Mar 2006 06:55:33 -0500 Date: Fri, 31 Mar 2006 17:25:29 +0530 From: Prasanna S Panchamukhi To: "Frank Ch. Eigler" Cc: Arjan van de Ven , Andrew Morton , Andi Kleen , davem@davemloft.net, suparna@in.ibm.com, richardj_moore@uk.ibm.com, linux-kernel@vger.kernel.org, Christoph Hellwig , "Theodore Ts'o" , Nick Piggin Subject: Re: RFC - Approaches to user-space probes Message-ID: <20060331115529.GA3501@in.ibm.com> Reply-To: prasanna@in.ibm.com References: <20060327065447.GA25745@in.ibm.com> <1143445068.2886.20.camel@laptopd505.fenrus.org> <20060327100019.GA30427@in.ibm.com> <1143489794.2886.43.camel@laptopd505.fenrus.org> <20060328145441.GA25465@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1188 Lines: 34 On Tue, Mar 28, 2006 at 03:35:43PM -0500, Frank Ch. Eigler wrote: > Prasanna S Panchamukhi writes: > > > [...] > > If the executable is mmaped shared, then those mappings will get written > > back to the disk. > > Writting to the disk is not the requirement for user-space probes, it is > > just the side effect [...] > > It's pretty clear that writing the dirtied pages to disk is an > *undesirable* side-effect, and should be eliminated. (Among many > other scenarios, imagine a kernel shutting down without all the probes > being cleanly removed. Then the executables are irretrievably > corrupted.) Frank, What would the tipical situations where the text section in the executable is mapped with 'MAP_SHARED'? This information will help solve the problem easily. Thanks Prasanna -- Prasanna S Panchamukhi Linux Technology Center India Software Labs, IBM Bangalore Email: prasanna@in.ibm.com Ph: 91-80-51776329 - 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/