From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20554 invoked by alias); 2 May 2007 10:33:14 -0000 Received: (qmail 20547 invoked by uid 22791); 2 May 2007 10:33:14 -0000 X-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_50 X-Spam-Check-By: sourceware.org Received: from one.firstfloor.org (HELO one.firstfloor.org) (213.235.205.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 02 May 2007 10:33:07 +0000 Received: by one.firstfloor.org (Postfix, from userid 503) id 457F9189029C; Wed, 2 May 2007 12:33:02 +0200 (CEST) Date: Wed, 02 May 2007 10:33:00 -0000 From: Andi Kleen To: "Frank Ch. Eigler" Cc: Quentin Barnes , Andi Kleen , systemtap@sources.redhat.com Subject: Re: notify_page_fault() problem Message-ID: <20070502103302.GB4392@one.firstfloor.org> References: <20070430201931.GA7328@urbana.css.mot.com> <20070430211537.GA7723@urbana.css.mot.com> <20070501025659.GA16649@one.firstfloor.org> <20070501032400.GA8174@urbana.css.mot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00174.txt.bz2 On Tue, May 01, 2007 at 11:40:29AM -0400, Frank Ch. Eigler wrote: > Quentin Barnes writes: > > > [...] That doesn't matter. Just having the kprobes and kretprobes > > data structures being in module memory is all that matters. [...] > > I recall thinking of extending the systemtap startup code sequence to > force mapping of the entire module data/text memory, hoping to prevent > vmalloc faults during execution. Does this sound like a plausible > hack around such problems? You can't do that from a module on x86. That is why vmalloc_sync_all() exist. -Andi