plan9fox/sys
cinap_lenrek fa5bd71218 devmnt: avoid memory copies of I/O rpc buffer by using bwrite()
given that devmnt will almost always write into a pipe
or a network connection, which supports te bwrite routine,
we can avoid the memory copy that would have been done by
devbwrite(). this also means the i/o buffer for writes
will get freed sooner without having to wait for the 9p
rpc to get a response, saving memory.

theres one case where we have to keep the rpc arround and
that is when we write to a cached file, as we want to update
the cache with the data that was written, but the user buffer
cannot be trusted to stay the same during the rpc.
2016-11-05 18:26:12 +01:00
..
doc closed spew branch 2016-04-28 20:52:36 +02:00
games/lib fortunes: does that me a dipshit 2016-10-16 14:16:17 -04:00
include ape/libsec: add secp384r1 curve parameters for tls 2016-10-30 20:32:03 +01:00
lib fix wrong manpage section index generation for rc-httpd(8) 2016-08-27 22:37:08 +02:00
man winwatch: no more 'l' key labeling 2016-10-26 14:01:13 -05:00
src devmnt: avoid memory copies of I/O rpc buffer by using bwrite() 2016-11-05 18:26:12 +01:00