From owner-cvs-src@FreeBSD.ORG Tue Jun 6 06:44:14 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A31B616A90A; Tue, 6 Jun 2006 06:43:16 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id E838943D60; Tue, 6 Jun 2006 06:43:08 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 5DC525136C; Tue, 6 Jun 2006 08:43:06 +0200 (CEST) Received: from localhost (dlp84.neoplus.adsl.tpnet.pl [83.24.45.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 89E3751306; Tue, 6 Jun 2006 08:43:01 +0200 (CEST) Date: Tue, 6 Jun 2006 08:40:46 +0200 From: Pawel Jakub Dawidek To: Poul-Henning Kamp Message-ID: <20060606064046.GB72060@garage.freebsd.pl> References: <200606052113.k55LDMks055707@repoman.freebsd.org> <25334.1149569429@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p4qYPpj5QlsIQJ0K" Content-Disposition: inline In-Reply-To: <25334.1149569429@critter.freebsd.dk> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/geom geom.h geom_io.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 06:44:16 -0000 --p4qYPpj5QlsIQJ0K Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 06, 2006 at 06:50:29AM +0200, Poul-Henning Kamp wrote: +> In message <200606052113.k55LDMks055707@repoman.freebsd.org>, Pawel Jaku= b Dawid +> ek writes: +>=20 +> > Add g_duplicate_bio() function which does the same thing what g_clone= _bio() +> > is doing, but g_duplicate_bio() allocates new bio with M_WAITOK flag. +>=20 +> First, this sounds wrong to me from an overall memory management point +> of view. +>=20 +> Second, g_clone_bio_wait() had been a better name. I thought so too when you added g_alloc_bio() function (a M_WAITOK version of g_new_bio())... :) --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --p4qYPpj5QlsIQJ0K Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEhSNuForvXbEpPzQRAsLTAKC7cKwmpEkWQLPxKWpOP5jiYUoG8wCdGBDE uqjIPNTSVEy3TQeYTDj3BM0= =9rcR -----END PGP SIGNATURE----- --p4qYPpj5QlsIQJ0K--