Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754994Ab1CNSVl (ORCPT ); Mon, 14 Mar 2011 14:21:41 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:49552 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754239Ab1CNSVk (ORCPT ); Mon, 14 Mar 2011 14:21:40 -0400 X-Authority-Analysis: v=1.1 cv=3uSaImBeuprzHBlOOPjkqgu+7PcxSRW0m2Aphm9Zmck= c=1 sm=0 a=NhuigFM5MhYA:10 a=Q9fys5e9bTEA:10 a=OPBmh+XkhLl+Enan7BmTLg==:17 a=7oDytCDXCsapQOI77SMA:9 a=9GJs1UEGM_fy284WXcXrLNoF5egA:4 a=PUjeQqilurYA:10 a=OPBmh+XkhLl+Enan7BmTLg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.242.120.143 Subject: Re: [PATCH v2 2.6.38-rc8-tip 3/20] 3: uprobes: Breakground page replacement. From: Steven Rostedt To: Srikar Dronamraju Cc: Peter Zijlstra , Ingo Molnar , Linux-mm , Arnaldo Carvalho de Melo , Linus Torvalds , Ananth N Mavinakayanahalli , Christoph Hellwig , Andi Kleen , Masami Hiramatsu , Oleg Nesterov , LKML , Jim Keniston , Roland McGrath , SystemTap , Andrew Morton , "Paul E. McKenney" In-Reply-To: <20110314172439.GO24254@linux.vnet.ibm.com> References: <20110314133403.27435.7901.sendpatchset@localhost6.localdomain6> <20110314133433.27435.49566.sendpatchset@localhost6.localdomain6> <1300117137.9910.110.camel@gandalf.stny.rr.com> <20110314172439.GO24254@linux.vnet.ibm.com> Content-Type: text/plain; charset="ISO-8859-15" Date: Mon, 14 Mar 2011 14:21:35 -0400 Message-ID: <1300126895.9910.127.camel@gandalf.stny.rr.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 669 Lines: 23 On Mon, 2011-03-14 at 22:54 +0530, Srikar Dronamraju wrote: > > > > I'm also curious to why we can't modify text code that is also mapped as > > read/write. > > > > If text code is mapped read/write then on memory pressure the page gets > written to the disk. Hence breakpoints inserted may end up being in the > disk copy modifying the actual copy. > > OK, could you put a comment about that too. Thanks, -- Steve -- 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/