On Tue, Jun 06, 2006 at 06:50:29AM +0200, Poul-Henning Kamp wrote:
+> In message <[EMAIL PROTECTED]>, Pawel Jakub Dawid
+> ek writes:
+> 
+> >  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.
+> 
+> First, this sounds wrong to me from an overall memory management point
+> of view.
+> 
+> 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())... :)

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
[EMAIL PROTECTED]                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Attachment: pgp2RWqTuVfh1.pgp
Description: PGP signature

Reply via email to