Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Dec 2009 11:56:18 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        svn-src-head@freebsd.org, Ed Schouten <ed@80386.nl>, svn-src-all@freebsd.org, src-committers@freebsd.org, Hajimu UMEMOTO <ume@freebsd.org>
Subject:   Re: the need for safe dynamic string libraries
Message-ID:  <86ein7t5m5.fsf@ds4.des.no>
In-Reply-To: <20091207105343.GA62012@onelab2.iet.unipi.it> (Luigi Rizzo's message of "Mon, 7 Dec 2009 11:53:43 %2B0100")
References:  <200912052009.nB5K9okL098577@svn.freebsd.org> <ygek4wzpdv3.wl%ume@mahoroba.org> <20091207055752.GD64905@hoeg.nl> <20091207085927.GC57764@onelab2.iet.unipi.it> <86iqcjt93c.fsf@ds4.des.no> <20091207105343.GA62012@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo <rizzo@iet.unipi.it> writes:
> What do you mean exactly ?

When libsbuf was ported to userland, sbuf_printf() was pessimized due to
the limitations of libc's printf().  This makes certain parts of
pseudofs extremely inefficient: for instance, if you read from a
/proc/whatever that's backed by an sbuf, it has to generate the entire
file even if you only asked for a small chunk at a large offset.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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