From owner-p4-projects@FreeBSD.ORG Tue Sep 12 08:47:56 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4E94816A47C; Tue, 12 Sep 2006 08:47:56 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 258B616A415 for ; Tue, 12 Sep 2006 08:47:56 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5138443D70 for ; Tue, 12 Sep 2006 08:47:48 +0000 (GMT) (envelope-from asmrookie@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1952339wxd for ; Tue, 12 Sep 2006 01:47:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ayQdhTCUdTZESuaimUqrEIcOjsAXN6406lrlVa+T6tk855te6SppiM69CVYBTguUunzp4gawyTBDJ4sU311jsq5vihw48SlUTP6SJpb19ngVt5jMpMud+kmKFYVc0gUukxeWf0w8nFV2ocs8Dq2nyC0ju+lKfxjP4iBZ1xzEQak= Received: by 10.70.61.1 with SMTP id j1mr7861559wxa; Tue, 12 Sep 2006 01:47:47 -0700 (PDT) Received: by 10.70.11.4 with HTTP; Tue, 12 Sep 2006 01:47:47 -0700 (PDT) Message-ID: <3bbf2fe10609120147p343f48a4yeef4ad42a8bbb337@mail.gmail.com> Date: Tue, 12 Sep 2006 10:47:47 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Alexander Leidinger" In-Reply-To: <3bbf2fe10609120130l55c4590eha3628e7f1c21d8a7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200609100956.k8A9uD0P094639@repoman.freebsd.org> <20060911193600.7ab43fb6@Magellan.Leidinger.net> <200609111528.49054.jhb@freebsd.org> <20060912073021.pvw7p0mit4w4cs8s@webmail.leidinger.net> <3bbf2fe10609120130l55c4590eha3628e7f1c21d8a7@mail.gmail.com> X-Google-Sender-Auth: 776271aa9a3af1a9 Cc: perforce@freebsd.org, John Baldwin , mag@intron.ac Subject: Re: PERFORCE change 105930 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 08:47:56 -0000 2006/9/12, Attilio Rao : > 2006/9/12, Alexander Leidinger : > > Quoting John Baldwin (from Mon, 11 Sep 2006 15:28:48 -0400): > > > > > I've only gotten this message when I've leaked memory in a zone. Do you have > > > an example self-contained kernel module that produces this? > > > > Download > > http://www.Leidinger.net/FreeBSD/linuxolator/linuxolator-p4.diff (or > > check out the p4-branch) and recompile the aio and linux modules. > > You might put the code under "Initialize the new context" > (linux_io_setup) into the init function for your UMA object, and so > the destructive pair. > > It might not solve your problem, but it is more elegant. BTW, the error that you receive effectively happens only on memory leak. This is called from the keg destructor (uma_core.c). Attilio -- Peace can only be achieved by understanding - A. Einstein