From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 8 19:23:57 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2919816A41F for ; Thu, 8 Dec 2005 19:23:57 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3198643D7E for ; Thu, 8 Dec 2005 19:23:47 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id jB8JNi8P062642; Thu, 8 Dec 2005 11:23:44 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id jB8JNhOF062641; Thu, 8 Dec 2005 11:23:43 -0800 (PST) (envelope-from jmg) Date: Thu, 8 Dec 2005 11:23:43 -0800 From: John-Mark Gurney To: Bowen Zhou Message-ID: <20051208192343.GT55657@funkthat.com> Mail-Followup-To: Bowen Zhou , freebsd-hackers@freebsd.org References: <821419ca0512072329q4ad120c5g367dd2192b91eccd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <821419ca0512072329q4ad120c5g367dd2192b91eccd@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-hackers@freebsd.org Subject: Re: Object reusement implementation in 6.0release: HELP Wanted!!! X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 19:23:57 -0000 Bowen Zhou wrote this message on Thu, Dec 08, 2005 at 15:29 +0800: > I need solutions to implement object reusement in FreeBSD6.0. > > What I want to do is to clean the content of data blocks before the > re-allocation of them. > > Then where (in which function ) should I insert my cleaning code in order to > fulfill the reusement of data blocks? If you are talking about in kernel land, take a look at zone(9).. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."