← Back to context

Comment by mappu

10 days ago

Passing the PTE sounds great for big messages (send/recv).

For small messages (open), the userspace malloc is going to have packed small buffers into a single page - so there's a chance you'd need to copy to a new userspace page, the two copies might work out better.

The throughput limitation is really only an issue for big messages, for smaller ones the processing overhead will dominate.