From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31321 invoked by alias); 23 Nov 2005 17:54:47 -0000 Received: (qmail 31311 invoked by uid 22791); 23 Nov 2005 17:54:46 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 23 Nov 2005 17:53:58 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id jANHrugI013770 for ; Wed, 23 Nov 2005 12:53:56 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id jANHruV14913; Wed, 23 Nov 2005 12:53:56 -0500 Received: from vpn83-157.boston.redhat.com (vpn83-157.boston.redhat.com [172.16.83.157]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id jANHrtgB016118; Wed, 23 Nov 2005 12:53:55 -0500 Subject: Re: double fault From: Martin Hunt To: Mathieu Desnoyers Cc: "Stone, Joshua I" , "systemtap@sources.redhat.com" In-Reply-To: <20051123172145.GA14338@Krystal> References: <1132734576.4203.11.camel@monkey2> <20051123172145.GA14338@Krystal> Content-Type: text/plain Organization: Red Hat Inc Date: Wed, 23 Nov 2005 17:54:00 -0000 Message-Id: <1132767597.3948.3.camel@monkey2> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-22) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2005-q4/txt/msg00252.txt.bz2 On Wed, 2005-11-23 at 12:21 -0500, Mathieu Desnoyers wrote: > * Martin Hunt (hunt@redhat.com) wrote: > > I changed the code to use > > vmalloc (we really want vmalloc_node() but RHEL4 doesn't have it) and > > all the crashes stopped on every machine. > > > > What are the flags used for the memory allocated by vmalloc ? >From mm/vmalloc.c: void *vmalloc(unsigned long size) { return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL); } > Did you try : > > - allocating the memory with kmalloc instead of vmalloc ? Why would I do that? What would I look for? vmalloc already works. > - to see if there is a code path that goes from do_page_fault to sys_open ? I > would be surprised about it, but we never know... I think we can assume that files aren't being opened in do_page_fault. But I checked anyway and I don't see anything like that. Martin