Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 11:02:50 +0100
From:      Adrian Chadd <adrian@freebsd.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Second zone allocator patch
Message-ID:  <20010123110249.C226@roaming.cacheboy.net>
In-Reply-To: <xzpk87ngpui.fsf@flood.ping.uio.no>; from des@ofug.org on Mon, Jan 22, 2001 at 11:54:29PM %2B0100
References:  <Pine.BSF.4.21.0101221903190.27567-100000@besplex.bde.org> <xzpk87ngpui.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 22, 2001, Dag-Erling Smorgrav wrote:

> *groan* don't I know it. The advantage it has over linprocfs is that
> at least it returns all the data in one piece. With procfs and
> linprocfs, if the reader uses a small read buffer it can end up with
> gibberish. I'd really love to have session tracking so I could format
> the data on open (or on first read) and cache it until the end of that
> session.

I've been looking at that for a revamp of procfs using sbufs. Basically,
it'd be nice to be able to attach the sbuf to the file struct and abuse
that as "local state".

If people have ideas about session tracking, I'm all ears. It'd also
help me implement some synthetic filesystems I'm having to do right now .. :)



Adrian

-- 
Adrian Chadd			"Programming is like sex:
<adrian@freebsd.org>		   One mistake and you have to support for
				    a lifetime." -- rec.humor.funny



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?20010123110249.C226>