premiere-libtorrent/docs/write_disk_buffers.diagram

16 lines
1.1 KiB
Plaintext
Raw Normal View History

2014-09-01 09:16:31 +02:00
decrypt in place move buffer ref.
+----------------+ (no copy) +------------+ (no copy) +------------+
| receive buffer +--=-------------->| plain text +--=--------------->| disk cache |
+----------------+ | buffer | +------+-----+
^ +------------+ |
| read() on socket write() to file |
| (copy) (copy) |
---=----|---------------------------------=---------------------------------|--=----
| kernel space |
| v
+-------+--------+ +-------------------+
| socket kernel | | kernel page cache |
| buffer | | |
+----------------+ +-------------------+