From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 11:25:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0C3216A403; Tue, 12 Sep 2006 11:25:54 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [210.51.165.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3433D43D4C; Tue, 12 Sep 2006 11:25:53 +0000 (GMT) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Tue, 12 Sep 2006 19:25:52 +0800 id 0010E407.45069940.000145AF 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> <3bbf2fe10609120147p343f48a4yeef4ad42a8bbb337@mail.gmail.com> In-Reply-To: <3bbf2fe10609120147p343f48a4yeef4ad42a8bbb337@mail.gmail.com> From: "Intron is my alias on the Internet" To: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Date: Tue, 12 Sep 2006 19:25:52 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Cc: Attilio Rao , Alexander Leidinger Subject: [Updated on 2006-9-12] Linux AIO module, Re: PERFORCE change 105930 for review X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 11:25:55 -0000 Download: http://ftp.intron.ac/tmp/linux_aio-20060912.tar.bz2 This update includes: 1. Some minor modifications in comments and debugging messages. 2. Calling uma_zcreate() without the flag UMA_ZONE_NOFREE. Alexander, please commit the only modified file "linux_aio.c" to the Perforce repository. When you commit my module to the CVS repository, please remove the two problems listed in my previous "readme.txt". ------------------------------------------------------------------------ From Beijing, China Attilio Rao wrote: > 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