Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2004 10:01:37 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Don Lewis <truckman@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_kern.c
Message-ID:  <xzpfzdaoz9q.fsf@dwp.des.no>
In-Reply-To: <200402162354.i1GNs87E047987@gw.catspoiler.org> (Don Lewis's message of "Mon, 16 Feb 2004 15:54:08 -0800 (PST)")
References:  <200402162354.i1GNs87E047987@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Don Lewis <truckman@FreeBSD.org> writes:
> While I think an extra malloc option to get this behaviour is
> reasonable, I think this is another situation where it would be better
> to wire the user buffer and copy the data directly to user space.
> Approximately the same amount of memory will be tied up servicing the
> request in either case.

No, the issue in pseudofs is that it needs a buffer of size offset +
resid rather than just resid.  There is a way to get around this
though, by hack^H^H^H^Hextending the sbuf(9) API.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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