2014-09-01 09:16:31 +02:00
|
|
|
|
2016-02-18 04:11:28 +01: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)" |
|
2014-09-01 09:16:31 +02:00
|
|
|
---=----|---------------------------------=---------------------------------|--=----
|
2016-02-18 04:11:28 +01:00
|
|
|
| "kernel space" |
|
2014-09-01 09:16:31 +02:00
|
|
|
| v
|
2016-02-18 04:11:28 +01:00
|
|
|
+-------+---------+ +---------------------+
|
|
|
|
| "socket kernel" | | "kernel page cache" |
|
|
|
|
| "buffer" | | |
|
|
|
|
+-----------------+ +---------------------+
|