cvs commit: src/sys/vm vm_kern.c
Dag-ErlingSmørgrav
des at des.no
Tue Feb 17 01:01:45 PST 2004
Don Lewis <truckman at 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
--
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src
mailing list