Skip site navigation (1)Skip section navigation (2)
Date:      13 Dec 2000 09:50:42 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Warner Losh <imp@village.org>, assar@FreeBSD.ORG, Matt Dillon <dillon@earth.backplane.com>, kris@citusc.usc.edu, arch@FreeBSD.ORG
Subject:   Re: Safe string formatting in the kernel
Message-ID:  <xzpg0js7li5.fsf@flood.ping.uio.no>
In-Reply-To: Poul-Henning Kamp's message of "Tue, 12 Dec 2000 23:43:22 %2B0100"
References:  <55081.976661002@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp <phk@critter.freebsd.dk> writes:
> In message <200012122228.PAA33203@harmony.village.org>, Warner Losh writes:
> >If there's a known, realtively small, upper limit, why does allocating
> >it dynamically buy you when you could have a static buffer?
> I have not reread DES's implementation, but in my design doc you
> could initialize an sbuf with your own buffer, for exactly that
> reason.

Yes. Please read the patch before criticizing it.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpg0js7li5.fsf>